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

- old
+ new

@@ -7,10 +7,10 @@ let(:connective) { Function::Connective::Conjunction.new(true, true) } let(:object) { described_class.new(connective) } 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