Permalink
Browse files

Explicitly set HTTP request type in routes since Rails 4 requires tha…

…t and Rails 3 don't care.
  • Loading branch information...
1 parent d963a21 commit 9c59536ba36ff00ac984b1082de0f1d59cd8050f @spectator spectator committed Mar 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/test_helper.rb
View
2 test/test_helper.rb
@@ -17,7 +17,7 @@
HasScope::Routes = ActionDispatch::Routing::RouteSet.new
HasScope::Routes.draw do
- match '/:controller(/:action(/:id))'
+ get '/:controller(/:action(/:id))'
end
class ApplicationController < ActionController::Base

0 comments on commit 9c59536

Please sign in to comment.