Sha256: 436fea709a25122e065f5e131bb8afc23ed2f7f235fa5efede27b876cbdb83d8
Contents?: true
Size: 271 Bytes
Versions: 87
Compression:
Stored size: 271 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
87 entries across 87 versions & 1 rubygems