From e6f2d4f68577643b15883b94ead417f75967d2d6 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Fri, 25 Jul 2014 00:43:45 +0800 Subject: [PATCH] Improve description of tests. --- actionpack/test/dispatch/template_assertions_test.rb | 8 ++++---- 1 file 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'