diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-05-20 15:33:08 -0700 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-05-20 15:34:26 -0700 |
commit | 01f032f256f96f65e154061b582fbb4b32e4a692 (patch) | |
tree | 9d9d0deeeec9a8c86c0b85c55c3ed13385f55f49 /actionpack/lib/action_controller/new_base/testing.rb | |
parent | c03b0ca7eb7e73587005e1440bf90cd01ed10aa5 (diff) | |
download | rails-01f032f256f96f65e154061b582fbb4b32e4a692.tar.gz rails-01f032f256f96f65e154061b582fbb4b32e4a692.tar.bz2 rails-01f032f256f96f65e154061b582fbb4b32e4a692.zip |
Added responds_to to new base.
Diffstat (limited to 'actionpack/lib/action_controller/new_base/testing.rb')
-rw-r--r-- | actionpack/lib/action_controller/new_base/testing.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/new_base/testing.rb b/actionpack/lib/action_controller/new_base/testing.rb index b39d8d539d..0659d81710 100644 --- a/actionpack/lib/action_controller/new_base/testing.rb +++ b/actionpack/lib/action_controller/new_base/testing.rb @@ -7,7 +7,7 @@ module ActionController @_response = response @_response.request = request ret = process(request.parameters[:action]) - @_response.body = self.response_body || " " + @_response.body ||= self.response_body || " " @_response.prepare! set_test_assigns ret |