[rspec-users] How to mock helpers in view specs ?
François Beausoleil
francois.beausoleil at gmail.com
Thu May 17 15:46:33 EDT 2007
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
Bye !
--
François Beausoleil
http://blog.teksol.info/
http://piston.rubyforge.org/
More information about the rspec-users
mailing list