Skip to content

Commit

Permalink
Downcase the message and switch back to all (ARGH)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshkalpin committed Nov 27, 2013
1 parent 3a21f32 commit 957fedb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/specification/linter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ def message_should_include(*values)
results.should.not.be.nil

matched = results.select do |result|
values.any? do |value|
result.message.include?(value.downcase)
values.all? do |value|
result.message.downcase.include?(value.downcase)
end
end

matched.size.should >= 1
matched.size.should == 1
end

#------------------#
Expand Down

0 comments on commit 957fedb

Please sign in to comment.