Permalink
Browse files

Drop implementation specific routing test assertions

  • Loading branch information...
1 parent 7bc5e3b commit 5d071b4bc28596896b8e51703afe2d0ff44c4143 @josh josh committed Oct 11, 2009
Showing with 0 additions and 3 deletions.
  1. +0 −3 actionpack/test/controller/routing_test.rb
@@ -984,9 +984,6 @@ def test_draw_default_route
end
assert_equal 1, set.routes.size
- route = set.routes.first
-
- assert route.segments.last.optional?
assert_equal '/users/show/10', set.generate(:controller => 'users', :action => 'show', :id => 10)
assert_equal '/users/index/10', set.generate(:controller => 'users', :id => 10)

0 comments on commit 5d071b4

Please sign in to comment.