Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

If it's unused there's no reason to keep it commented. It will always…

… remain in git history, so removing it.
  • Loading branch information...
commit af72cf47994b1b72cf68d899bc930c691d104b2b 1 parent b7bfeaa
@strzalek strzalek authored drogus committed
Showing with 0 additions and 11 deletions.
  1. +0 −11 actionpack/test/controller/routing_test.rb
View
11 actionpack/test/controller/routing_test.rb
@@ -1083,17 +1083,6 @@ def test_generate_changes_controller_module
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'
Please sign in to comment.
Something went wrong with that request. Please try again.