inspec/test/unit/mock/profiles/skippy-profile-os/controls/one.rb
Dominik Richter fb54c4ea24 api: inspec.yml supports now adds tests w/o running
Instead of just removing all tests because of OS support, supports now acts by adding all tests to the execution context, but doesnt actually execute them. Instead tests are set to skip before they get to the actual execution context
2016-04-06 11:28:52 +02:00

3 lines
100 B
Ruby

describe command('touch /tmp/inspec_test_DONT_CREATE') do
its(:exit_status) { should eq 123 }
end