-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoMethodError when using route helpers #85
Comments
I have the same issue EDIT: @erikaxel I think it is because controller testing is deprecated - |
Workaround for the moment is let(:controller) { double('controller', url_options: {}) } |
I found that it depends on the order you put If Which indicates that |
The order in the Gemfile matters? 😨 |
I actually had same issue, and found out that when initializing cell object like this:
then it does not work properly, but when I initialize it as
then everything works. Maybe that's also the case for you @erikaxel |
Hi,
Im getting a NoMethodError: undefined method `[]' for nil:NilClass
in rspec-testing when using path helpers. I have included the controller via the controller-method, and tried setting the type to :cell, but it doesn't help.
Using Rails 5.1 and Slim.
The text was updated successfully, but these errors were encountered: