[rspec-users] controller code doesn't seem to be called within rspec test

David Chelimsky 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.
> cheers,
> Alexander

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...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20091021/ea2f61c3/attachment.html>

More information about the rspec-users mailing list