mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #21106 from amitsuroliya/fix_routing_test
Remove duplicity in tests
This commit is contained in:
commit
95cb2e3a8a
1 changed files with 0 additions and 6 deletions
|
@ -327,12 +327,6 @@ class LegacyRouteSetTests < ActiveSupport::TestCase
|
|||
assert_equal '/stuff', controller.url_for({ :controller => '/stuff', :only_path => true })
|
||||
end
|
||||
|
||||
def test_ignores_leading_slash
|
||||
rs.clear!
|
||||
rs.draw { get '/:controller(/:action(/:id))'}
|
||||
test_default_setup
|
||||
end
|
||||
|
||||
def test_route_with_colon_first
|
||||
rs.draw do
|
||||
get '/:controller/:action/:id', action: 'index', id: nil
|
||||
|
|
Loading…
Reference in a new issue