Flowdock
method

helper_method

Importance_0
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: ActionView::TestCase::Behavior::ClassMethods
helper_method(*methods) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_view/test_case.rb, line 68
        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
Register or log in to add new notes.