aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-01-20 15:12:30 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2012-01-23 10:14:15 -0800
commite848c52535fa0f9488cdbdb3f1cedc7c7c02d643 (patch)
treec1908c819032c1a6dcb75c80246bc7ed58610ba9 /actionpack/test
parent01176a7eaf40577e298b2c6e120e3fa17feabcc7 (diff)
downloadrails-e848c52535fa0f9488cdbdb3f1cedc7c7c02d643.tar.gz
rails-e848c52535fa0f9488cdbdb3f1cedc7c7c02d643.tar.bz2
rails-e848c52535fa0f9488cdbdb3f1cedc7c7c02d643.zip
Deprecated multi args to http route methods
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/dispatch/routing_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/routing_test.rb b/actionpack/test/dispatch/routing_test.rb
index c6e6ed4d6b..8f843eb960 100644
--- a/actionpack/test/dispatch/routing_test.rb
+++ b/actionpack/test/dispatch/routing_test.rb
@@ -156,7 +156,8 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest
end
resources :posts do
- get :archive, :toggle_view, :on => :collection
+ get :archive, :on => :collection
+ get :toggle_view, :on => :collection
post :preview, :on => :member
resource :subscription