diff options
author | Guo Xiang Tan <tgx_world@hotmail.com> | 2014-07-25 00:43:45 +0800 |
---|---|---|
committer | Guo Xiang Tan <tgx_world@hotmail.com> | 2014-07-25 00:43:45 +0800 |
commit | e6f2d4f68577643b15883b94ead417f75967d2d6 (patch) | |
tree | 0d53eae0a348f9cbbc8cf64c4b2b28fa6e8707b7 /actionpack | |
parent | cc10288e5fdded5d4410d16c4bf6c6da0b55a23b (diff) | |
download | rails-e6f2d4f68577643b15883b94ead417f75967d2d6.tar.gz rails-e6f2d4f68577643b15883b94ead417f75967d2d6.tar.bz2 rails-e6f2d4f68577643b15883b94ead417f75967d2d6.zip |
Improve description of tests.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/dispatch/template_assertions_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/test/dispatch/template_assertions_test.rb b/actionpack/test/dispatch/template_assertions_test.rb index 2c6a1185e6..3c393f937b 100644 --- a/actionpack/test/dispatch/template_assertions_test.rb +++ b/actionpack/test/dispatch/template_assertions_test.rb @@ -24,7 +24,7 @@ class AssertTemplateController < ActionController::Base end class AssertTemplateControllerTest < ActionDispatch::IntegrationTest - def test_assert_template_reset_between_requests + def test_template_reset_between_requests get '/assert_template/render_with_template' assert_template 'test/hello_world' @@ -32,7 +32,7 @@ class AssertTemplateControllerTest < ActionDispatch::IntegrationTest assert_template nil end - def test_assert_partial_reset_between_requests + def test_partial_reset_between_requests get '/assert_template/render_with_partial' assert_template partial: 'test/_partial' @@ -40,7 +40,7 @@ class AssertTemplateControllerTest < ActionDispatch::IntegrationTest assert_template partial: nil end - def test_assert_layout_reset_between_requests + def test_layout_reset_between_requests get '/assert_template/render_with_layout' assert_template layout: 'layouts/standard' @@ -48,7 +48,7 @@ class AssertTemplateControllerTest < ActionDispatch::IntegrationTest assert_template layout: nil end - def test_assert_file_reset_between_requests + def test_file_reset_between_requests get '/assert_template/render_with_file' assert_template file: 'README.rdoc' |