inspec/test/integration/default/matcher.rb

10 lines
218 B
Ruby
Raw Normal View History

2016-05-10 00:32:10 +00:00
# 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