test/helpers/hash_helpers.rb in jsonapi-resources-0.0.7 vs test/helpers/hash_helpers.rb in jsonapi-resources-0.0.8
- old
+ new
@@ -1,13 +1,15 @@
module Helpers
module HashHelpers
+ # :nocov:
def assert_hash_contains(exp, act, msg = nil)
msg = message(msg, '') { diff exp, act }
assert(matches_hash?(exp, act), msg)
end
def assert_hash_equals(exp, act, msg = nil)
msg = message(msg, '') { diff exp, act }
assert(matches_hash?(exp, act, {exact: true}), msg)
end
+ # :nocov:
end
-end
\ No newline at end of file
+end