Sha256: f383b031a6d416b9e776d335a88c4f1f36cf0a1015f9a89c2aefadfdf33fb765
Contents?: true
Size: 488 Bytes
Versions: 11
Compression:
Stored size: 488 Bytes
Contents
require 'rails_helper' describe LHS::Data do context 'equality' do before(:each) do class Record < LHS::Record endpoint 'http://local.ch/records' end end let(:raw) do { name: 'Steve' } end let(:data) do LHS::Data.new(raw, nil, Record) end it 'provides inspect method that is focused on the raw data' do expect(data.inspect).to eq raw expect(data.inspect_without_focus).to include 'LHS::Data' end end end
Version data entries
11 entries across 11 versions & 1 rubygems