From eb55bd34301f26a1f1652f3657f7dbdabdb18157 Mon Sep 17 00:00:00 2001 From: amitkumarsuroliya Date: Mon, 3 Aug 2015 12:28:13 +0530 Subject: Remove duplicity in tests --- actionpack/test/controller/routing_test.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'actionpack/test/controller/routing_test.rb') diff --git a/actionpack/test/controller/routing_test.rb b/actionpack/test/controller/routing_test.rb index 9bbfb74e72..06ac80356b 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 -- cgit v1.2.3