aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-10-10 19:58:36 -0500
committerJoshua Peek <josh@joshpeek.com>2009-10-10 21:30:50 -0500
commit5d071b4bc28596896b8e51703afe2d0ff44c4143 (patch)
tree846543abcfaa654cc8deeeb34906d18f928d8f71 /actionpack
parent7bc5e3bd02632bd3545b9097e14ea289e9531bb5 (diff)
downloadrails-5d071b4bc28596896b8e51703afe2d0ff44c4143.tar.gz
rails-5d071b4bc28596896b8e51703afe2d0ff44c4143.tar.bz2
rails-5d071b4bc28596896b8e51703afe2d0ff44c4143.zip
Drop implementation specific routing test assertions
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/test/controller/routing_test.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/actionpack/test/controller/routing_test.rb b/actionpack/test/controller/routing_test.rb
index edf243337f..32d60d8b7a 100644
--- a/actionpack/test/controller/routing_test.rb
+++ b/actionpack/test/controller/routing_test.rb
@@ -984,9 +984,6 @@ class RouteSetTest < ActiveSupport::TestCase
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)