mirror of
https://github.com/inspec/inspec
synced 2024-11-27 15:10:44 +00:00
43a5fd7945
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
16 lines
433 B
Ruby
16 lines
433 B
Ruby
# 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
|