spec/unit/axiom/optimizer/function/predicate/constant_operands/optimize_spec.rb in axiom-optimizer-0.1.0 vs spec/unit/axiom/optimizer/function/predicate/constant_operands/optimize_spec.rb in axiom-optimizer-0.1.1

- old
+ new

@@ -7,10 +7,10 @@ let(:predicate) { Function::Predicate::Equality.new(1, 1) } let(:object) { described_class.new(predicate) } before do - object.should be_optimizable + expect(object).to be_optimizable end - it { should equal(Function::Proposition::Tautology.instance) } + it { should be(Function::Proposition::Tautology.instance) } end