Skip to content

Deprecate assigns() and assert_template following #18950. - #19058

Closed
alex-grover wants to merge 2 commits into
rails:masterfrom
alex-grover:add_deprecation_warnings
Closed

Deprecate assigns() and assert_template following #18950.#19058
alex-grover wants to merge 2 commits into
rails:masterfrom
alex-grover:add_deprecation_warnings

Conversation

@alex-grover

Copy link
Copy Markdown

No description provided.

@vipulnsward

Copy link
Copy Markdown
Member

The tests are failing. Also we need to remove/suppress tests related to these.

@alex-grover

Copy link
Copy Markdown
Author

There are hundreds of tests that use these functions - I am assuming that the desired outcome is that they be rewritten to use different testing logic. I rewrote the single failing test to pass (not sure if the way I did it was too hacky) but I don't have the capacity to rewrite them all myself. Let me know what you think should be done.

@alex-grover

Copy link
Copy Markdown
Author

@vipulnsward: @bgott and I can start taking a look at these if you think that rewriting the tests using assigns and assert_template is desired. Let us know.

@alex-grover alex-grover closed this Sep 2, 2015
@alex-grover
alex-grover deleted the add_deprecation_warnings branch September 2, 2015 18:53
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