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