spec/mongoid/report/summary_spec.rb in mongoid-report-0.1.2 vs spec/mongoid/report/summary_spec.rb in mongoid-report-0.1.3
- old
+ new
@@ -16,9 +16,10 @@
rows = example.aggregate_for(klass)
rows = rows.all
expect(rows.count).to eq(2)
expect(rows.summary[:field1]).to eq(3)
+ expect(rows.summary['field1']).to eq(3)
end
end
end