spec/dbee/model/constraints/reference_spec.rb in dbee-1.0.2 vs spec/dbee/model/constraints/reference_spec.rb in dbee-1.0.3
- old
+ new
@@ -22,10 +22,10 @@
let(:config) { { name: 'id', parent: 'patient_id' } }
subject { described_class.new(config) }
specify '#hash produces same output as concatenated string hash of name and parent' do
- expect(subject.hash).to eq("#{config[:name].hash}#{config[:parent]}".hash)
+ expect(subject.hash).to eq("#{config[:name]}#{config[:parent]}".hash)
end
specify '#== and #eql? compare attributes' do
object2 = described_class.new(config)