inspec/test/functional/telemetry_test.rb
Clinton Wolfe 439c93b115 Add a functional test to check Thor run context detection
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-25 21:00:24 -04:00

14 lines
347 B
Ruby

require "functional/helper"
describe "telemetry" do
include FunctionalHelper
parallelize_me!
describe "detecting CLI runtime context" do
let(:run_result) { run_inspec_process("run_context") }
it "should detect cli context" do
_(run_result.stderr).must_equal ""
_(run_result.stdout).must_include "cli"
end
end
end