method
tests
rails latest stable - Class:
ActionView::TestCase::Behavior::ClassMethods
tests(helper_class)public
No documentation available.
# File actionview/lib/action_view/test_case.rb, line 155
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