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

- old
+ new

@@ -11,10 +11,10 @@ else rules.to_a.should == parsed_styles(document) end end - describe { "have styles #{rules.inspect} at selector #{@selector.inspect}" } + description { "have styles #{rules.inspect} at selector #{@selector.inspect}" } failure_message_for_should { |document| "expected styles at #{@selector.inspect} to be #{rules.inspect} but was #{parsed_styles(document).inspect}" } failure_message_for_should_not { "expected styles at #{@selector.inspect} to not be #{rules.inspect}" } def parsed_styles(document) node = document.css(@selector).first