[rspec-users] How to mock helpers in view specs ?

David Chelimsky dchelimsky at gmail.com
Fri May 25 11:07:04 EDT 2007


On 5/17/07, François Beausoleil <francois.beausoleil at gmail.com> wrote:
> Thanks Ruy !
>
> 2007/5/17, Ruy Asan <ruyasan at gmail.com>:
> > AFAIK, you need to stub @controller.template instead
>
> That's exactly what I needed.  Thank you very much.
>
> There needs to be a mention of this on
> http://rspec.rubyforge.org/documentation/rails/writing/views.html

There is. Scroll down.

>
> Bye !
> --
> François Beausoleil
> http://blog.teksol.info/
> http://piston.rubyforge.org/
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users


More information about the rspec-users mailing list