spec/unit/axiom/algebra/summarization/eql_spec.rb in axiom-0.1.1 vs spec/unit/axiom/algebra/summarization/eql_spec.rb in axiom-0.2.0
- old
+ new
@@ -53,10 +53,10 @@
end
end
context 'with an object having a different summarize_by' do
let(:other_operand) { operand }
- let(:other_summarize_by) { operand.project([]).sort_by {} }
+ let(:other_summarize_by) { operand.project([]).sort_by(&EMPTY_PROC) }
let(:other_summarizers) { summarizers }
let(:other) { described_class.new(other_operand, other_summarize_by, other_summarizers) }
it { should be(false) }