method
tests
v3.2.8 -
Show latest stable
- Class:
ActionView::TestCase::Behavior::ClassMethods
tests(helper_class)public
No documentation available.
# File actionpack/lib/action_view/test_case.rb, line 52
def tests(helper_class)
case helper_class
when String, Symbol
self.helper_class = "#{helper_class.to_s.underscore}_helper".camelize.safe_constantize
when Module
self.helper_class = helper_class
end
end