Sha256: 9b2014340aa902f21b443ca6a3135c7db236058dd07333886cd489d9c727c690
Contents?: true
Size: 272 Bytes
Versions: 39
Compression:
Stored size: 272 Bytes
Contents
# frozen_string_literal = true RSpec.describe :to_json do link :to_json, from: :ree_json it { expect(to_json({id: 1})).to eq("{\"id\":1}") } it { expect( to_json({id: Object.new}, mode: :object) ).to eq("{\":id\":{\"^o\":\"Object\"}}") } end
Version data entries
39 entries across 39 versions & 1 rubygems