mirror of
https://github.com/github/rails.git
synced 2026-01-08 22:27:59 -05:00
define routes for tests
This commit is contained in:
@@ -425,6 +425,8 @@ module ActionController #:nodoc:
|
||||
end
|
||||
|
||||
def process(action, parameters = nil, session = nil, flash = nil, http_method = 'GET')
|
||||
@routes ||= ActionController::Routing::Routes
|
||||
|
||||
# Sanity check for required instance variables so we can give an
|
||||
# understandable error message.
|
||||
%w(@routes @controller @request @response).each do |iv_name|
|
||||
|
||||
Reference in New Issue
Block a user