aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorGuo Xiang Tan <tgx_world@hotmail.com>2014-07-25 00:43:45 +0800
committerGuo Xiang Tan <tgx_world@hotmail.com>2014-07-25 00:43:45 +0800
commite6f2d4f68577643b15883b94ead417f75967d2d6 (patch)
tree0d53eae0a348f9cbbc8cf64c4b2b28fa6e8707b7 /actionpack
parentcc10288e5fdded5d4410d16c4bf6c6da0b55a23b (diff)
downloadrails-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.rb8
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'