mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove inflection reloads routes test
This commit is contained in:
parent
01c9f99c53
commit
350d3daa88
1 changed files with 0 additions and 7 deletions
|
@ -1762,13 +1762,6 @@ class RouteLoadingTest < Test::Unit::TestCase
|
|||
2.times { routes.reload! }
|
||||
end
|
||||
|
||||
def test_adding_inflections_forces_reload
|
||||
ActiveSupport::Inflector::Inflections.instance.expects(:uncountable).with('equipment')
|
||||
routes.expects(:reload!)
|
||||
|
||||
ActiveSupport::Inflector.inflections { |inflect| inflect.uncountable('equipment') }
|
||||
end
|
||||
|
||||
def test_load_with_configuration
|
||||
routes.configuration_files.clear
|
||||
routes.add_configuration_file("foobarbaz")
|
||||
|
|
Loading…
Reference in a new issue