Method: ActionView::TestCase::Behavior::ClassMethods#tests
- Defined in:
- lib/action_view/test_case.rb
#tests(helper_class) ⇒ Object
58 59 60 61 62 63 64 65 |
# File 'lib/action_view/test_case.rb', line 58 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 |