search for: user_1009

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

Did you mean: user_1000
2008 Jan 23
18
Not seeing the failure
...save_coupon coupon = Coupon.new(params[:coupon]) coupon.user = current_user coupon.save redirect_to_index "Coupon Added!" end And, I get the following failure: Mock ''Coupon_1008'' received unexpected message :user= with (#<User:0x221a3e8 @name="User_1009">) I''m sure that I''m missing something very simple, but I''ve been staring at it for too long. (also, if anyone has commented on my style, please feel free to mention it, as I''m still adjusting my mind to rspec) Oh, versions, I almost forgot: rails 2.0....