Sha256: 4cdf1c419cb03f4936df9ea682991ccc483c120962cc1acfd97747660ac77775
Contents?: true
Size: 206 Bytes
Versions: 10
Compression:
Stored size: 206 Bytes
Contents
# "{'foo': 'bar'}".should match_json {:foo => :bar} RSpec::Matchers.define :match_json do |expected| match do |actual| ActiveSupport::JSON.decode(actual) == expected.with_indifferent_access end end
Version data entries
10 entries across 10 versions & 1 rubygems