[rspec-users] passing parameters when testing controller actions
dchelimsky at gmail.com
Wed Jul 29 08:53:36 EDT 2009
On Wed, Jul 29, 2009 at 8:51 AM, norm<codehacker at comcast.net> wrote:
> wow, thanks for the tips David. I'm using both the stub!() and the
> should_receive() because, as a complete RSpec neophyte, that's what I
> thought was required! (And it seemed to work, too!).
> I didn't suspect the controller code, because it's code that works.
> But with your suggestion, I found the discrepancy between the
> controller code and the spec... the error message was telling me but I
> wasn't seeing it!
Glad to hear you've got it sorted out.
More information about the rspec-users