inspec/test/integration/default/controls/matcher_test.rb
Miah Johnson 659b4b373a Remove # encoding: utf8 magic comments
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-07 16:06:23 -07:00

21 lines
455 B
Ruby

# author: Rony Xavier, rx294@gmail.com
# matcher be_in test
INSTALLED_MODULES = ['module1', 'module2', 'module3', 'module4', 'module5']
describe 'module1' do
it { should be_in INSTALLED_MODULES}
end
describe ['module1', 'module2', 'module3'] do
it { should be_in INSTALLED_MODULES}
end
describe 'badmodule' do
it { should_not be_in INSTALLED_MODULES}
end
describe ['badmodule1', 'badmodule2'] do
it { should_not be_in INSTALLED_MODULES}
end