Sha256: 3730ac05acc0c136d0271264a21dd8ba6e9d8104d6dac0c9fe92614e3b58ab63
Contents?: true
Size: 111 Bytes
Versions: 3
Compression:
Stored size: 111 Bytes
Contents
FakeResponse = Struct.new(:body) do def to_h JSON.parse(body) end def to_json(*) body end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
json_matchers-0.11.1 | spec/support/fake_response.rb |
json_matchers-0.11.0 | spec/support/fake_response.rb |
json_matchers-0.10.0 | spec/support/fake_response.rb |