spec/differential/calculator/report_spec.rb in differential-1.0.6 vs spec/differential/calculator/report_spec.rb in differential-1.1.0
- old
+ new
@@ -144,13 +144,13 @@
'aBC',
'1 AC.'
]
unsorted_ids.each do |unsorted_id|
- record = ::Differential::Parser::Record.new(id: '1',
+ record = ::Differential::Parser::Record.new(id: '1',
group_id: unsorted_id,
- value: 1,
- data: {})
+ value: 1,
+ data: {})
report.add(record, ::Differential::Calculator::Side::A)
end
actual_ids = report.sorted_groups.map { |i| i.id.value }