diff options
author | Andrew White <pixeltrix@users.noreply.github.com> | 2015-08-21 11:25:38 +0100 |
---|---|---|
committer | Andrew White <pixeltrix@users.noreply.github.com> | 2015-08-21 11:25:38 +0100 |
commit | 95cb2e3a8a306701d3720fa5e1a9486655aea923 (patch) | |
tree | 62c04d46935a5a18a715e6cccdae97ed4837269b /actionpack/test | |
parent | 3088460df04a8060a099398904bcd0a3098a6bef (diff) | |
parent | eb55bd34301f26a1f1652f3657f7dbdabdb18157 (diff) | |
download | rails-95cb2e3a8a306701d3720fa5e1a9486655aea923.tar.gz rails-95cb2e3a8a306701d3720fa5e1a9486655aea923.tar.bz2 rails-95cb2e3a8a306701d3720fa5e1a9486655aea923.zip |
Merge pull request #21106 from amitsuroliya/fix_routing_test
Remove duplicity in tests
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/routing_test.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/actionpack/test/controller/routing_test.rb b/actionpack/test/controller/routing_test.rb index a333290ade..feb3e7eab7 100644 --- a/actionpack/test/controller/routing_test.rb +++ b/actionpack/test/controller/routing_test.rb @@ -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 |