aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-12-22 16:08:03 -0600
committerJoshua Peek <josh@joshpeek.com>2009-12-22 16:08:03 -0600
commita1bf2f96ce6f086de8519e344ee7e396ae3da9bb (patch)
tree3c3a300bb56ec47dca0bc2b2d0379b33e295524e /actionpack/test
parent17b6053083767e5747c0f522b83a69e268d9d69e (diff)
downloadrails-a1bf2f96ce6f086de8519e344ee7e396ae3da9bb.tar.gz
rails-a1bf2f96ce6f086de8519e344ee7e396ae3da9bb.tar.bz2
rails-a1bf2f96ce6f086de8519e344ee7e396ae3da9bb.zip
AD::StatusCodes support is now part of rack
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/controller/render_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/render_test.rb b/actionpack/test/controller/render_test.rb
index f26b15d2e0..54f2739d38 100644
--- a/actionpack/test/controller/render_test.rb
+++ b/actionpack/test/controller/render_test.rb
@@ -1125,7 +1125,7 @@ class RenderTest < ActionController::TestCase
assert !@response.headers.include?('Content-Length')
assert_response :no_content
- ActionDispatch::StatusCodes::SYMBOL_TO_STATUS_CODE.each do |status, code|
+ Rack::Utils::SYMBOL_TO_STATUS_CODE.each do |status, code|
get :head_with_symbolic_status, :status => status.to_s
assert_equal code, @response.response_code
assert_response status
@@ -1133,7 +1133,7 @@ class RenderTest < ActionController::TestCase
end
def test_head_with_integer_status
- ActionDispatch::StatusCodes::STATUS_CODES.each do |code, message|
+ Rack::Utils::HTTP_STATUS_CODES.each do |code, message|
get :head_with_integer_status, :status => code.to_s
assert_equal message, @response.message
end