inspec/test/fixtures/profiles/only_if/skip-file/controls/skippy.rb
Clinton Wolfe f39cf8c904 Tests to exercise only_if functionality
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-05 17:39:54 -04:00

22 lines
468 B
Ruby

control "control-start-02" do
desc "This control should get skipped"
describe "a string" do
it { should cmp "a string" }
end
end
only_if("I wonder what this will do") { false }
control "control-start-03" do
desc "This control should get skipped"
describe "a string" do
it { should cmp "a string" }
end
end
control "control-start-04" do
desc "This control should get skipped"
describe "a string" do
it { should cmp "a string" }
end
end