[rspec-users] Mocking problem in controller
dbatshaw at gmail.com
Tue Oct 27 17:26:06 EDT 2009
Thanks! That was very helpful. I did do some searching but didn't
come up with that result.
On Oct 27, 11:16 am, Ashley Moran <ashley.mo... at patchspace.co.uk>
> On Oct 27, 2009, at 3:51 pm, drewB wrote:
> > As you can see, I am not mocking current_user.objectives.create so I
> > have to look at assigns[:objective] to test that things are working.
> > How would I go about mocking it?
> Hi Drew
> A virtually identical question was asked recently. Hopefully the
> replies to that will help:
> rspec-users mailing list
> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users
More information about the rspec-users