spec/support/rspec/matchers.rb in rtml-2.0.3 vs spec/support/rspec/matchers.rb in rtml-2.0.4

- old
+ new

@@ -2,20 +2,9 @@ match do |arry| arry.include?(item) end end -Spec::Matchers.define :resemble do |item| - match do |doc| - case doc - when ActionController::Response, String - doc.tml_should_resemble(item) - else - doc.to_tml.tml_should_resemble(item) - end - end -end - class ResponseContainsErrors def initialize(exception_class = nil) @exception_class = exception_class end