diff options
author | Guo Xiang Tan <tgx_world@hotmail.com> | 2015-05-13 18:28:33 +0800 |
---|---|---|
committer | Guo Xiang Tan <tgx_world@hotmail.com> | 2015-05-30 14:13:57 +0800 |
commit | ca83436d1b3b6cedd1eca2259f65661e69b01909 (patch) | |
tree | 7a25da4004c50ed7b1cd8056dc912aa16ce14c29 /activesupport | |
parent | 109e71d2bb6d2305a091fe7ea96d4f6e9c7cd52d (diff) | |
download | rails-ca83436d1b3b6cedd1eca2259f65661e69b01909.tar.gz rails-ca83436d1b3b6cedd1eca2259f65661e69b01909.tar.bz2 rails-ca83436d1b3b6cedd1eca2259f65661e69b01909.zip |
Remove `assigns` and `assert_template`.
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 # |