diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-05-15 17:49:11 -0700 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-05-15 17:49:11 -0700 |
commit | 5a45446cff0daf4ca747257a8779dcd5d9cae1d7 (patch) | |
tree | 23a7ff81593e1d1060f01f340852fd8477c825c4 /actionpack/lib/action_controller/new_base/testing.rb | |
parent | 7e10504bdeab14ea70a942110a1b1ef6d8467ed3 (diff) | |
download | rails-5a45446cff0daf4ca747257a8779dcd5d9cae1d7.tar.gz rails-5a45446cff0daf4ca747257a8779dcd5d9cae1d7.tar.bz2 rails-5a45446cff0daf4ca747257a8779dcd5d9cae1d7.zip |
Ported Rescuable 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 106990b9ba..b39d8d539d 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 |