spec/dentaku_spec.rb in dentaku-1.0.0 vs spec/dentaku_spec.rb in dentaku-1.1.0

- old
+ new

@@ -1,11 +1,11 @@ require 'dentaku' describe Dentaku do - it 'should evaulate an expression' do - Dentaku('5+3').should eql(8) + it 'evaulates an expression' do + expect(Dentaku('5+3')).to eql(8) end - it 'should bind values to variables' do - Dentaku('oranges > 7', {:oranges => 10}).should be_true + it 'binds values to variables' do + expect(Dentaku('oranges > 7', {:oranges => 10})).to be_truthy end end