aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/dispatch')
-rw-r--r--actionpack/test/dispatch/routing_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/routing_test.rb b/actionpack/test/dispatch/routing_test.rb
index b922235944..88a5c37c43 100644
--- a/actionpack/test/dispatch/routing_test.rb
+++ b/actionpack/test/dispatch/routing_test.rb
@@ -519,7 +519,7 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest
get 'search' => 'search'
scope ':locale' do
- match 'questions/new', via: [:get]
+ match 'questions/new', :via => :get
end
namespace :api do