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