Sha256: 3ddbb69e35d0e0626c15197a40aa78cea5d2d3da6df12898c8f208e974c9c219

Contents?: true

Size: 207 Bytes

Versions: 9

Compression:

Stored size: 207 Bytes

Contents

module Helpers
  module HashHelpers
    def assert_hash_equals(exp, act, msg = nil)
      msg = message(msg, '') { diff exp, act }
      assert(matches_hash?(exp, act, {exact: true}), msg)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
jsonapi-resources-0.4.2 test/helpers/hash_helpers.rb
jsonapi-resources-0.4.1 test/helpers/hash_helpers.rb
jsonapi-resources-0.4.0 test/helpers/hash_helpers.rb
jsonapi-resources-0.3.3 test/helpers/hash_helpers.rb
jsonapi-resources-0.3.2 test/helpers/hash_helpers.rb
jsonapi-resources-0.3.1 test/helpers/hash_helpers.rb
jsonapi-resources-0.3.0 test/helpers/hash_helpers.rb
jsonapi-resources-0.3.0.pre2 test/helpers/hash_helpers.rb
jsonapi-resources-0.3.0.pre1 test/helpers/hash_helpers.rb