spec/unit/axiom/optimizer/function/predicate/comparable/normalizable_operands/optimize_spec.rb in axiom-optimizer-0.1.0 vs spec/unit/axiom/optimizer/function/predicate/comparable/normalizable_operands/optimize_spec.rb in axiom-optimizer-0.1.1
- old
+ new
@@ -8,14 +8,14 @@
let(:attribute) { Attribute::Integer.new(:id) }
let(:predicate) { Function::Predicate::Equality.new(1, attribute) }
let(:object) { described_class.new(predicate) }
before do
- object.should be_optimizable
+ expect(object).to be_optimizable
end
it { should be_kind_of(Function::Predicate::Equality) }
- its(:left) { should equal(attribute) }
+ its(:left) { should be(attribute) }
its(:right) { should == 1 }
end