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 /railties/test/application | |
parent | 109e71d2bb6d2305a091fe7ea96d4f6e9c7cd52d (diff) | |
download | rails-ca83436d1b3b6cedd1eca2259f65661e69b01909.tar.gz rails-ca83436d1b3b6cedd1eca2259f65661e69b01909.tar.bz2 rails-ca83436d1b3b6cedd1eca2259f65661e69b01909.zip |
Remove `assigns` and `assert_template`.
Diffstat (limited to 'railties/test/application')
-rw-r--r-- | railties/test/application/test_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/test_test.rb b/railties/test/application/test_test.rb index 61652e5052..bb30940a74 100644 --- a/railties/test/application/test_test.rb +++ b/railties/test/application/test_test.rb @@ -44,7 +44,7 @@ module ApplicationTests def test_index get '/posts' assert_response :success - assert_template "index" + assert_includes @response.body, 'Posts#index' end end RUBY |