spec/support/have_attribute_matcher.rb in roadie-2.3.3 vs spec/support/have_attribute_matcher.rb in roadie-2.3.4

- old
+ new

@@ -8,10 +8,10 @@ match do |document| name, expected = attribute.first expected == attribute(document, name) end - describe { "have attribute #{attribute.inspect} at selector #{@selector.inspect}" } + description { "have attribute #{attribute.inspect} at selector #{@selector.inspect}" } failure_message_for_should do |document| name, expected = attribute.first "expected #{name} attribute at #{@selector.inspect} to be #{expected.inspect} but was #{attribute(document, name).inspect}" end failure_message_for_should_not do |document|