Skip to content
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

Remove render_template and assigns from tests #1527

Merged

Conversation

sonalkr132
Copy link
Member

They are deprecated in rails 5.
Reasoning: instance variables and which template is rendered in a
controller action are internals of a controller, and controller
tests should not care about them.

Check: rails/rails#18950

Related: 3d919db, ec5bc3c, #1341

They are deprecated in rails 5.
Reasoning:  instance variables and which template is rendered in a
controller action are internals of a controller, and controller
tests should not care about them.
@sonalkr132 sonalkr132 added this to the rails 5 update milestone Dec 27, 2016
@sonalkr132 sonalkr132 merged commit e6e0bff into rubygems:master Jan 18, 2017
@sonalkr132 sonalkr132 deleted the remove-render-template-and-assigns branch January 18, 2017 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants