diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-05-01 17:53:20 -0700 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-05-01 17:53:20 -0700 |
commit | 7dd072d333040d2bb1197baa55fddfb9b72053bd (patch) | |
tree | 90218761072e9c213c8653db5ce30f43b0690476 /actionpack/lib/action_controller/testing/process2.rb | |
parent | e046f36824fcc164c284a13524c6b4153010a4e1 (diff) | |
download | rails-7dd072d333040d2bb1197baa55fddfb9b72053bd.tar.gz rails-7dd072d333040d2bb1197baa55fddfb9b72053bd.tar.bz2 rails-7dd072d333040d2bb1197baa55fddfb9b72053bd.zip |
A few more tweaks to get new Base running old render tests again
Diffstat (limited to 'actionpack/lib/action_controller/testing/process2.rb')
-rw-r--r-- | actionpack/lib/action_controller/testing/process2.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/testing/process2.rb b/actionpack/lib/action_controller/testing/process2.rb index 7111733d0d..d9af7add5f 100644 --- a/actionpack/lib/action_controller/testing/process2.rb +++ b/actionpack/lib/action_controller/testing/process2.rb @@ -1,7 +1,7 @@ require "action_controller/testing/process" module ActionController - module TestProcess2 + module TestProcess # Executes a request simulating GET HTTP method and set/volley the response def get(action, parameters = nil, session = nil, flash = nil) @@ -60,7 +60,7 @@ module ActionController options.update(:only_path => true, :action => action) url = ActionController::UrlRewriter.new(@request, parameters) - @request.set_REQUEST_URI(url.rewrite(options)) + @request.request_uri = url.rewrite(options) end end |