The title is self explanatory.
Everything I\'ve tried led to a \"undefined method\".
To clarify, I am not trying to test a helper method. I am trying to use a he
If you are trying to use a helper method on your view test, you can go with the following:
before do view.extend MyHelper end
It must be inside a describe block.
describe
It works for me on rails 3.2 and rspec 2.13