Sha256: f453034447583c04049b1b00d9a40ef7745d70086232572248564257129c1048
Contents?: true
Size: 654 Bytes
Versions: 8
Compression:
Stored size: 654 Bytes
Contents
RSpec.describe Fauna::SetRef do describe '#==' do it 'equals same set' do data = { match: random_ref_string, terms: random_string } set = Fauna::SetRef.new(data) expect(set).to eq(Fauna::SetRef.new(data)) end it 'does not equal different set' do set = Fauna::SetRef.new(match: random_ref_string, terms: random_string) expect(set).not_to eq(Fauna::SetRef.new(match: random_ref_string, terms: random_string)) end it 'does not equal other type' do data = { match: random_ref_string, terms: random_string } set = Fauna::SetRef.new(data) expect(set).not_to eq(data) end end end
Version data entries
8 entries across 8 versions & 2 rubygems