Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use canonical #controller_path logic in controller test cases

  • Loading branch information...
commit a145955fb7a7c3963453733b3fbac8a2c12a45d7 1 parent d0096e0
@cainlevy cainlevy 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.