1
0
Fork 0
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:
Joshua Peek 2009-11-23 19:25:39 -06:00
parent 01c9f99c53
commit 350d3daa88

View file

@ -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")