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
def determine_default_helper_class(name)
  mod = name.sub(%rTest$/, '').safe_constantize
  mod.is_a?(Class) ? nil : mod
end
helper_class()
# File actionpack/lib/action_view/test_case.rb, line 79
def helper_class
  @helper_class ||= determine_default_helper_class(name)
end
helper_method(*methods)
# File actionpack/lib/action_view/test_case.rb, line 66
        def helper_method(*methods)
          # Almost a duplicate from ActionController::Helpers
          methods.flatten.each do |method|
            _helpers.module_eval "              def #{method}(*args, &block)                    # def current_user(*args, &block)
                _test_case.send(%(#{method}), *args, &block)  #   _test_case.send(%(current_user), *args, &block)
              end                                             # end
"
          end
        end
new(*)
# File actionpack/lib/action_view/test_case.rb, line 83
def new(*)
  include_helper_modules!
  super
end
tests(helper_class)
# 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