class method
self.controller_class=
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
self.controller_class=(new_class)
No documentation comment.
Parameters
-
new_classreq
Source
# File actionpack/lib/action_controller/test_case.rb, line 109
def controller_class=(new_class)
prepare_controller_class(new_class)
write_inheritable_attribute(:controller_class, new_class)
end
Defined in actionpack/lib/action_controller/test_case.rb line 109
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::TestCase