Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
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 bcae9b111ed4536bed0f0b63f8a88dfa95424101 1 parent 9d1df38
@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.