Methods
Attributes
[W] | helper_class |
Instance Public methods
determine_default_helper_class(name)
Link
helper_class()
Link
helper_method(*methods)
Link
# File actionview/lib/action_view/test_case.rb, line 71 def helper_method(*methods) # Almost a duplicate from ActionController::Helpers methods.flatten.each do |method| _helpers.module_eval <<-end_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_eval end end
new(*)
Link
tests(helper_class)
Link