spec/differential/differential_spec.rb in differential-1.0.6 vs spec/differential/differential_spec.rb in differential-1.1.0
- old
+ new
@@ -18,17 +18,17 @@
dataset_b = [
{ name: 'Matt', minutes: 20, transport: 'Car' }
]
reader_config = {
- record_id_key: :name,
- value_key: :minutes,
- group_id_key: :transport
+ record_id_key: :name,
+ value_key: :minutes,
+ group_id_key: :transport
}
- report = ::Differential.calculate(dataset_a: dataset_a,
- dataset_b: dataset_b,
- reader_config: reader_config)
+ report = ::Differential.calculate(dataset_a: dataset_a,
+ dataset_b: dataset_b,
+ reader_config: reader_config)
expect(report.groups.length).to eq(2)
end
end