From 1a8f784a236058101c6e8b6387aefc96e86a1e54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Mon, 7 Jun 2010 11:20:54 +0200 Subject: member on resource should not expect an ID. --- actionpack/test/dispatch/routing_test.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'actionpack/test') 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 -- cgit v1.2.3