inspec/test/integration/default/matcher.rb
2016-05-10 10:00:55 -04:00

9 lines
218 B
Ruby

# encoding: utf-8
describe ['ananas', 'apples', 'oranges', 'air', 'alot'] do
it { should all_match /[a]./}
end
describe ['ananas', 'apples', 'oranges', 'air', 'melons'] do
it { should_not all_match /[a]./}
end