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\")
include ActionView::Helpers::UrlHelper -> In my case, this was the line that i had to search and comment.