[rspec-users] controller code doesn't seem to be called within rspec test
dchelimsky at gmail.com
Wed Oct 21 07:54:58 EDT 2009
On Wed, Oct 21, 2009 at 6:12 AM, Alexander Seidl <lists at ruby-forum.com>wrote:
> hi ben,
> no impact, same result.
Please quote at least the relevant part of the previous email when you
respond. I can get the context if I'm looking at mail in a web browser. Not
so much on my phone.
If you reverse lines 6 and 7 on http://pastie.org/663143, the example
_should_ pass, so I'm a bit mystified. That said, why are you specifying
that current_user is called rather than something about the response? Or is
this just an excerpt you're using for demonstration?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users