spec/support/matchers/be_contained_in.rb in neat-1.6.0 vs spec/support/matchers/be_contained_in.rb in neat-1.7.0.pre
- old
+ new
@@ -2,9 +2,9 @@
match do |actual|
@query = ParserSupport.parser.find_by_selector(actual, expected)
@query.any?
end
- failure_message_for_should do |actual|
+ failure_message do |actual|
%{expected selector #{actual} to be contained in #{expected}}
end
end