aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/routing_test.rb
diff options
context:
space:
mode:
authorŁukasz Strzałkowski <lukasz.strzalkowski@gmail.com>2010-08-09 16:40:52 +0200
committerPiotr Sarnacki <drogus@gmail.com>2010-09-05 13:44:38 +0200
commitaf72cf47994b1b72cf68d899bc930c691d104b2b (patch)
tree10a330873dfe9df139f2301555c1bc7b6faf23cf /actionpack/test/controller/routing_test.rb
parentb7bfeaa9fc7eaf315ce8eaae129fd0d02c9d09d0 (diff)
downloadrails-af72cf47994b1b72cf68d899bc930c691d104b2b.tar.gz
rails-af72cf47994b1b72cf68d899bc930c691d104b2b.tar.bz2
rails-af72cf47994b1b72cf68d899bc930c691d104b2b.zip
If it's unused there's no reason to keep it commented. It will always remain in git history, so removing it.
Diffstat (limited to 'actionpack/test/controller/routing_test.rb')
-rw-r--r--actionpack/test/controller/routing_test.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/actionpack/test/controller/routing_test.rb b/actionpack/test/controller/routing_test.rb
index 214c741130..658b09ca93 100644
--- a/actionpack/test/controller/routing_test.rb
+++ b/actionpack/test/controller/routing_test.rb
@@ -1083,17 +1083,6 @@ class RouteSetTest < ActiveSupport::TestCase
assert_equal "/foo/bar/baz/7", url
end
- # def test_id_is_not_impossibly_sticky
- # set.draw do
- # match 'foo/:number' => 'people#index'
- # match ':controller/:action/:id'
- # end
- #
- # url = set.generate({:controller => "people", :action => "index", :number => 3},
- # {:controller => "people", :action => "index", :id => "21"})
- # assert_equal "/foo/3", url
- # end
-
def test_id_is_sticky_when_it_ought_to_be
set.draw do
match ':controller/:id/:action'