I have a request spec in a Rails engine. The view that is rendered calls a route and passes in a hash, i.e. projects_path(:scope => \"user\"). A route like t
projects_path(:scope => \"user\")
I had the same issue when updating to Rails 4, and I discovered that the problem was a model containing the following line:
include Rails.application.routes.url_helpers
Try finding code in your application that includes url_helpers somewhere. Removing that line should help solve the problem.
url_helpers