spec/support/rspec_matchers.rb in pact_broker-2.0.5 vs spec/support/rspec_matchers.rb in pact_broker-2.1.0
- old
+ new
@@ -2,8 +2,8 @@
match do |actual|
actual.instance_of?(DateTime) || actual.instance_of?(Time)
end
failure_message do |actual|
- "expected #{actual} to be an instance of DateTime or Time"
+ "expected #{actual.inspect} to be an instance of DateTime or Time"
end
-end
\ No newline at end of file
+end