diff options
author | Carl Lerche <carllerche@mac.com> | 2009-05-26 14:13:35 -0700 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2009-05-26 14:13:35 -0700 |
commit | a3ca5638d365113028610141f025839bb3ed738b (patch) | |
tree | a7c258e93606dd7203af09ee63ec364d009a5a46 /actionpack/lib/action_controller/testing | |
parent | 7dd094329eee01cf9d18e4141226357eb8f75c76 (diff) | |
download | rails-a3ca5638d365113028610141f025839bb3ed738b.tar.gz rails-a3ca5638d365113028610141f025839bb3ed738b.tar.bz2 rails-a3ca5638d365113028610141f025839bb3ed738b.zip |
Get controller/test_test.rb to pass on new base
Diffstat (limited to 'actionpack/lib/action_controller/testing')
-rw-r--r-- | actionpack/lib/action_controller/testing/process2.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/testing/process2.rb b/actionpack/lib/action_controller/testing/process2.rb index 677dd41781..1c6fd2d80a 100644 --- a/actionpack/lib/action_controller/testing/process2.rb +++ b/actionpack/lib/action_controller/testing/process2.rb @@ -51,9 +51,10 @@ module ActionController @request.session = ActionController::TestSession.new(session) unless session.nil? @request.session["flash"] = ActionController::Flash::FlashHash.new.update(flash) if flash - build_request_uri(action, parameters) + @controller.request = @request @controller.params.merge!(parameters) + build_request_uri(action, parameters) # Base.class_eval { include ProcessWithTest } unless Base < ProcessWithTest @controller.process_with_new_base_test(@request, @response) @response |