Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #10478 from cainlevy/patch-1

use canonical #controller_path logic in controller test cases
  • Loading branch information...
commit 8d85baa0e317c5baa3b8671d7fdd79e36f7058c7 2 parents 0f97ac6 + a145955
@rafaelfranca rafaelfranca authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_controller/test_case.rb
View
2  actionpack/lib/action_controller/test_case.rb
@@ -558,7 +558,7 @@ def process(action, http_method = 'GET', *args)
parameters ||= {}
controller_class_name = @controller.class.anonymous? ?
"anonymous" :
- @controller.class.name.underscore.sub(/_controller$/, '')
+ @controller.class.controller_path
@request.assign_parameters(@routes, controller_class_name, action.to_s, parameters)
Please sign in to comment.
Something went wrong with that request. Please try again.