spec/differential/parser/reader_spec.rb in differential-1.0.3 vs spec/differential/parser/reader_spec.rb in differential-1.0.4
- old
+ new
@@ -148,9 +148,10 @@
record = records.first
hash = hashes.first
expect(record.id).to eq("#{hash[:first]}:#{hash[:last]}")
+ expect(record.id.data).to eq([hash[:first], hash[:last]])
expect(record.group_id).to eq("#{hash[:transport]}:#{hash[:direction]}")
expect(record.value).to eq(hash[:minutes])
expect(record.data).to eq(hash)
end
end