-
Notifications
You must be signed in to change notification settings - Fork 53
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
"assigns" in integration test not working #28
Comments
It should not. Integrations tests are not supposed to have the |
Closed by rails/rails@5dde413 |
I'm a little surprised tbh. I realise (I had some tests using it because they were migrated from controller tests at some point. Maybe I'm an outlier.) |
I just found that the integration tests add it. Could you create an example application that reproduce this issue? It is being defined here https://github.com/rails/rails-controller-testing/blob/master/lib/rails/controller/testing.rb#L18 |
Please see https://github.com/mahemoff/integration-assert. assigns here fails for me with the above error. |
Same here, assign its not working, im getting nil. |
This gem has restored
assigns
as expected for controller tests, but not for integration tests. e.g.:yields
I notice the integration test here doesn't include
assigns
, is it supported?The text was updated successfully, but these errors were encountered: