mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove warning renaming the test classes to use the test convention
This commit is contained in:
parent
6b9004a9f4
commit
82667c84e1
2 changed files with 2 additions and 2 deletions
|
@ -200,7 +200,7 @@ class SetsNonExistentLayoutFile < LayoutTest
|
||||||
layout "nofile"
|
layout "nofile"
|
||||||
end
|
end
|
||||||
|
|
||||||
class LayoutExceptionRaised < ActionController::TestCase
|
class LayoutExceptionRaisedTest < ActionController::TestCase
|
||||||
def test_exception_raised_when_layout_file_not_found
|
def test_exception_raised_when_layout_file_not_found
|
||||||
@controller = SetsNonExistentLayoutFile.new
|
@controller = SetsNonExistentLayoutFile.new
|
||||||
assert_raise(ActionView::MissingTemplate) { get :hello }
|
assert_raise(ActionView::MissingTemplate) { get :hello }
|
||||||
|
|
|
@ -3,7 +3,7 @@ require 'abstract_unit'
|
||||||
module AbstractController
|
module AbstractController
|
||||||
module Testing
|
module Testing
|
||||||
|
|
||||||
class UrlForTests < ActionController::TestCase
|
class UrlForTest < ActionController::TestCase
|
||||||
class W
|
class W
|
||||||
include ActionDispatch::Routing::RouteSet.new.tap { |r| r.draw { get ':controller(/:action(/:id(.:format)))' } }.url_helpers
|
include ActionDispatch::Routing::RouteSet.new.tap { |r| r.draw { get ':controller(/:action(/:id(.:format)))' } }.url_helpers
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue