diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-12-19 15:05:51 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-12-19 15:05:51 -0600 |
commit | 3da1b94d07fbbd6cff342a822af1631ae167a9b8 (patch) | |
tree | 9d5c87ce38143ca196aa4681fc5a7678fb330073 /actionpack/test/controller/caching_test.rb | |
parent | 12e416a04b764d0b212e04a53b770f60dc0d7071 (diff) | |
download | rails-3da1b94d07fbbd6cff342a822af1631ae167a9b8.tar.gz rails-3da1b94d07fbbd6cff342a822af1631ae167a9b8.tar.bz2 rails-3da1b94d07fbbd6cff342a822af1631ae167a9b8.zip |
Use status response accessor instead of the 'Status' header
Diffstat (limited to 'actionpack/test/controller/caching_test.rb')
-rw-r--r-- | actionpack/test/controller/caching_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/caching_test.rb b/actionpack/test/controller/caching_test.rb index ddf140ac3a..e24bb00bc7 100644 --- a/actionpack/test/controller/caching_test.rb +++ b/actionpack/test/controller/caching_test.rb @@ -169,7 +169,7 @@ class ActionCachingTestController < ActionController::Base def forbidden render :text => "Forbidden" - headers["Status"] = "403 Forbidden" + response.status = "403 Forbidden" end def with_layout |