mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Improve description of tests.
This commit is contained in:
parent
cc10288e5f
commit
e6f2d4f685
1 changed files with 4 additions and 4 deletions
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in a new issue