diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-06-01 12:39:03 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-06-01 12:39:03 -0300 |
commit | bdfc662a1195d13e3ef78cc8e79df8a8a2e3ca97 (patch) | |
tree | 8a0579453f36b82ec8c18a99cf3cb71029dbed55 /activesupport | |
parent | bd83caa66680380685a3961339c81b77ab1e85ff (diff) | |
parent | ca83436d1b3b6cedd1eca2259f65661e69b01909 (diff) | |
download | rails-bdfc662a1195d13e3ef78cc8e79df8a8a2e3ca97.tar.gz rails-bdfc662a1195d13e3ef78cc8e79df8a8a2e3ca97.tar.bz2 rails-bdfc662a1195d13e3ef78cc8e79df8a8a2e3ca97.zip |
Merge pull request #20138 from tgxworld/deprecated_assert_template
Deprecate `assert_template` and `assigns()`.
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/testing/assertions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/testing/assertions.rb b/activesupport/lib/active_support/testing/assertions.rb index 411dd29df5..d87ce3474d 100644 --- a/activesupport/lib/active_support/testing/assertions.rb +++ b/activesupport/lib/active_support/testing/assertions.rb @@ -28,7 +28,7 @@ module ActiveSupport # # An arbitrary expression is passed in and evaluated. # - # assert_difference 'assigns(:article).comments(:reload).size' do + # assert_difference 'Article.last.comments(:reload).size' do # post :create, params: { comment: {...} } # end # |