features/support/matchers/smart_match.rb in rspec-1.1.12 vs features/support/matchers/smart_match.rb in rspec-1.2.0
- old
+ new
@@ -20,14 +20,14 @@
false
end
end
def failure_message
- "expected #{@actual.inspect} to smart_match #{@expected.inspect}, but it didn't"
+ "expected #{@actual} to smart_match #{@expected}"
end
def negative_failure_message
- "expected #{@actual.inspect} not to smart_match #{@expected.inspect}, but it did"
+ "expected #{@actual} not to smart_match #{@expected}"
end
end
def smart_match(expected)
SmartMatch.new(expected)
\ No newline at end of file