search for: toggle_approv

Displaying 1 result from an estimated 1 matches for "toggle_approv".

Did you mean: toggle_approved
2007 May 15
3
NOOB question RSPEC
Hi all !! I have this code: require ''account'' describe Account, "when first created" do before do @account = Account.new end it "should have a balance of $0" do @account.balance.should eql(Money.new(0, :dollars)) end after do @account = nil end end How can I pass the @account.balance.should eql(Money.new(0, :dollars)) spec. From my