diff options
author | Carl Lerche <carllerche@mac.com> | 2010-03-03 09:32:27 -0800 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2010-03-03 21:24:00 -0800 |
commit | 18bcce596efaa4e77a202431ab5e736001a394c6 (patch) | |
tree | 890130c084d463539442745ad6ea89d4f05f7c6f /actionpack/test/dispatch | |
parent | fb14b8c6fddae818b2688ac1e584534390c37f72 (diff) | |
download | rails-18bcce596efaa4e77a202431ab5e736001a394c6.tar.gz rails-18bcce596efaa4e77a202431ab5e736001a394c6.tar.bz2 rails-18bcce596efaa4e77a202431ab5e736001a394c6.zip |
ActionController::Base.use_accept_header is not actually used anymore, so let's deprecate it.
Diffstat (limited to 'actionpack/test/dispatch')
-rw-r--r-- | actionpack/test/dispatch/request_test.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/actionpack/test/dispatch/request_test.rb b/actionpack/test/dispatch/request_test.rb index 84c06ca113..78200ca17e 100644 --- a/actionpack/test/dispatch/request_test.rb +++ b/actionpack/test/dispatch/request_test.rb @@ -435,11 +435,4 @@ protected def with_set(*args) args end - - def with_accept_header(value) - ActionController::Base.use_accept_header, old = value, ActionController::Base.use_accept_header - yield - ensure - ActionController::Base.use_accept_header = old - end end |