From 0c1558d32fe7f3198ef598ce552ea89a04ab7793 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Fri, 22 Feb 2013 14:42:35 -0300 Subject: Use 1.8 hash style --- actionpack/test/dispatch/routing_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3