diff options
author | José Valim <jose.valim@gmail.com> | 2010-06-07 11:20:54 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-06-07 11:20:54 +0200 |
commit | 1a8f784a236058101c6e8b6387aefc96e86a1e54 (patch) | |
tree | 68bedf69383ab151a7020ab2291bad2392ba48c2 /actionpack/test/dispatch | |
parent | 634c9310e302aba0c113363ccec748460113b523 (diff) | |
download | rails-1a8f784a236058101c6e8b6387aefc96e86a1e54.tar.gz rails-1a8f784a236058101c6e8b6387aefc96e86a1e54.tar.bz2 rails-1a8f784a236058101c6e8b6387aefc96e86a1e54.zip |
member on resource should not expect an ID.
Diffstat (limited to 'actionpack/test/dispatch')
-rw-r--r-- | actionpack/test/dispatch/routing_test.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/actionpack/test/dispatch/routing_test.rb b/actionpack/test/dispatch/routing_test.rb index b2b8aca9b2..ffa4f50b00 100644 --- a/actionpack/test/dispatch/routing_test.rb +++ b/actionpack/test/dispatch/routing_test.rb @@ -358,10 +358,9 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest def test_member_on_resource with_test_routes do - get '/session/1/crush' + get '/session/crush' assert_equal 'sessions#crush', @response.body - - assert_equal '/session/1/crush', crush_session_path(1) + assert_equal '/session/crush', crush_session_path end end |