Robert Walker wrote: >> it "should update item's quantity" do >> Item.create_or_update_quantity(:product_id => 1, :store_id => 1, >> :quantity => 1) >> Item.create_or_update_quantity(:product_id => 1, :store_id => 1, >> :quantity => 1) >> Item.first.quantity.should eql(2) >> end > > Then write the missing method.
Ugh! Sorry for the duplicate quoting... didn't mean to do that. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

