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

Kai Schlamp kai.schlamp at googlemail.com
Mon Mar 21 12:19:09 EDT 2011

> Change this ^^ to this:
>   helper.fetch_param(:order)

I was wrong the test fails also with the same error message:

Failure/Error: order_link(:name)
       undefined method `fetch_param' for #<#<Class:0xb63d37ac>:

More information about the rspec-users mailing list