Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix controller_class_name for anonymous controllers.

  • Loading branch information...
commit 529a3ee50eeb7db5a78afeb5da38fd71b42e7ea2 1 parent d99affe
@mschuerig mschuerig authored pixeltrix committed
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
@@ -472,7 +472,7 @@ def process(action, http_method = 'GET', *args)
parameters ||= {}
controller_class_name = @controller.class.anonymous? ?
- "anonymous_controller" :
+ "anonymous" :
@controller.class.name.underscore.sub(/_controller$/, '')
@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.