Flowdock
method

included

Importance_0
v1.1.6 - Show latest stable - 0 notes - Class: ActionController::TestProcess
included(base) 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_controller/test_process.rb, line 331
    def self.included(base)
      # execute the request simulating a specific http method and set/volley the response
      %w( get post put delete head ).each do |method|
        base.class_eval "def \#{method}(action, parameters = nil, session = nil, flash = nil)\n@request.env['REQUEST_METHOD'] = \"\#{method.upcase}\" if @request\nprocess(action, parameters, session, flash)\nend\n", __FILE__, __LINE__
      end
    end
Register or log in to add new notes.