lib/matchers/dict_key_matcher.riml in speckle-0.1.12 vs lib/matchers/dict_key_matcher.riml in speckle-0.1.13
- old
+ new
@@ -2,13 +2,13 @@
defm match(expected, actual)
return has_key(actual, expected)
end
defm failure_message_for_match(expected, actual)
- return "expected dict to have key #{actual}"
+ return "expected object to have key “#{expected}”"
end
defm failure_message_for_mismatch(expected, actual)
- return "expected dict to not have key #{actual}"
+ return "expected object to not have key “#{expected}”"
end
end