When I visit my browser login page, everything works fine.
When I visit my rspec integration test login page, I get the following error:
ActionView::Template::Error: undefined method `title' for #<#<Class:0x00000007af9180>:0x00000007af32a8>
The title method is used in the view and is defined in the ApplicationHelper, which appears to be found when using the browser. However, during the integration tests of rspec, the developer cannot find a helper method.
Is there anything I would need to bite? The integration tests seem to fulfill the requirements. Any other ideas?
(This question is not about how to include development assistants in integration tests). I manually fill out the sign in the forms for authentication).
ruby-on-rails integration-testing rspec devise
Nathan hurst
source share