To make RSpec happy, I tried to test for the following:
--
@cart.amount.should eql(50)
--
And now I get:
--
FAILED
expected 50, got 0 (using .eql?)
--
So is @cart.amount being set to 50 or not in the spec? When I test
manually it works fine.
--
Posted via http://www.ruby-forum.com/.