# File lib/merb-core/test/matchers/view_matchers.rb, line 102 def matches?(target) @errors = [] @attrs.each do |attr, val| if target.include?("#{attr}=\"#{val}\"") @errors << "Should not include #{attr}=\"#{val}\", but was #{target}" end end @errors.size == 0 end