Sha256: aadf4a1c32c9dc2bdd14426ce59c9703f1fbf9b621633bdf2e4579770140f300
Contents?: true
Size: 475 Bytes
Versions: 76
Compression:
Stored size: 475 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' describe LHS::Record do context 'equality' do before do class Record < LHS::Record endpoint 'http://local.ch/records' end end let(:raw) do { name: 'Steve' } end def record LHS::Record.new LHS::Data.new(raw, nil, Record) end it 'is equal when two data objects share the same raw data' do expect( record ).to eq record end end end
Version data entries
76 entries across 76 versions & 1 rubygems