spec/lib/algebra/formula_spec.rb in dydx-0.0.7 vs spec/lib/algebra/formula_spec.rb in dydx-0.0.8
- old
+ new
@@ -54,9 +54,10 @@
it{ expect(addition.include?(:x)).to be_true }
it{ expect(addition.include?(:z)).to be_false }
end
describe '#openable?' do
- it{ expect((1 + :x).openable?(_(1))).to be_true }
- it{ expect((1 + :x).openable?(:z)).to be_false }
+ it{ expect((:x + :y).openable?(:*, :x)).to be_true }
+ it{ expect((:x + :y).openable?(:*, :y)).to be_true }
+ it{ expect((:x + :y).openable?(:*, :z)).to be_false }
end
end