spec/calculator_spec.rb in dentaku-0.2.2 vs spec/calculator_spec.rb in dentaku-0.2.3

- old
+ new

@@ -26,9 +26,10 @@ end end it 'should evaluate a statement with no variables' do calculator.evaluate('5+3').should eq(8) + calculator.evaluate('(1+1+1)/3*100').should eq(100) end it 'should fail to evaluate unbound statements' do lambda { calculator.evaluate('foo * 1.5') }.should raise_error end