Methods
D
H
N
T
Attributes
[W] helper_class
Instance Public methods
determine_default_helper_class(name)
    # File actionpack/lib/action_view/test_case.rb, line 61
61:         def determine_default_helper_class(name)
62:           mod = name.sub(/Test$/, '').constantize
63:           mod.is_a?(Class) ? nil : mod
64:         rescue NameError
65:           nil
66:         end
helper_class()
    # File actionpack/lib/action_view/test_case.rb, line 82
82:         def helper_class
83:           @helper_class ||= determine_default_helper_class(name)
84:         end
helper_method(*methods)
    # File actionpack/lib/action_view/test_case.rb, line 68
68:         def helper_method(*methods)
69:           # Almost a duplicate from ActionController::Helpers
70:           methods.flatten.each do |method|
71:             _helpers.module_eval "def \#{method}(*args, &block)                    # def current_user(*args, &block)\n_test_case.send(%(\#{method}), *args, &block)  #   _test_case.send(%(current_user), *args, &block)\nend                                             # end\n"
72:           end
73:         end
new(*)
    # File actionpack/lib/action_view/test_case.rb, line 86
86:         def new(*)
87:           include_helper_modules!
88:           super
89:         end
tests(helper_class)
    # File actionpack/lib/action_view/test_case.rb, line 52
52:         def tests(helper_class)
53:           case helper_class
54:           when String, Symbol
55:             self.helper_class = "#{helper_class.to_s.underscore}_helper".camelize.safe_constantize
56:           when Module
57:             self.helper_class = helper_class
58:           end
59:         end