inspec/test/integration/run-context-tk/controls/during-verify.rb

17 lines
433 B
Ruby
Raw Normal View History

# This seemingly pointless test is here so that a dump of
# the stack will appear in the test output for debugging
stack = caller_locations(4)
control "json-stack" do
describe stack.to_json do
it { should be_kind_of String }
end
end
require "inspec/utils/telemetry/run_context_probe"
control "run-context" do
describe Inspec::Telemetry::RunContextProbe.guess_run_context do
it { should cmp "test-kitchen" }
end
end