spec/unit/veritas/optimizer/algebra/rename/offset_operand/optimizable_spec.rb in veritas-optimizer-0.0.4 vs spec/unit/veritas/optimizer/algebra/rename/offset_operand/optimizable_spec.rb in veritas-optimizer-0.0.5

- old
+ new

@@ -13,10 +13,10 @@ before do object.operation.should be_kind_of(Algebra::Rename) end context 'when the operand is an offset operation' do - let(:operand) { base.order.drop(1) } + let(:operand) { base.sort_by { |r| r.id }.drop(1) } it { should be(true) } end context 'when the operand is not an offset operation' do