aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-06-01 12:39:03 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-06-01 12:39:03 -0300
commitbdfc662a1195d13e3ef78cc8e79df8a8a2e3ca97 (patch)
tree8a0579453f36b82ec8c18a99cf3cb71029dbed55 /railties/test
parentbd83caa66680380685a3961339c81b77ab1e85ff (diff)
parentca83436d1b3b6cedd1eca2259f65661e69b01909 (diff)
downloadrails-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 'railties/test')
-rw-r--r--railties/test/application/test_test.rb2
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