aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch
diff options
context:
space:
mode:
authorCarl Lerche <carllerche@mac.com>2010-03-03 09:32:27 -0800
committerCarl Lerche <carllerche@mac.com>2010-03-03 21:24:00 -0800
commit18bcce596efaa4e77a202431ab5e736001a394c6 (patch)
tree890130c084d463539442745ad6ea89d4f05f7c6f /actionpack/test/dispatch
parentfb14b8c6fddae818b2688ac1e584534390c37f72 (diff)
downloadrails-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.rb7
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