[rspec-users] Stub a controllers helper_method in a view template helper spec

Kai Schlamp kai.schlamp at googlemail.com
Mon Mar 21 13:09:59 EDT 2011

> From this error message, it looks like you can just def it inside your describe block.

Thanks Matt, that seems to work.

More information about the rspec-users mailing list