diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-01-27 18:54:01 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-01-27 18:54:01 -0600 |
commit | 319ae4628f4e0058de3e40e4ca7791b17e45e70c (patch) | |
tree | e5da1bfe6dd69a9cf483c9ff9fd18c5bfdd2f463 /actionpack/test/controller/render_test.rb | |
parent | a0f2b1d95d3785de92ae271fd7ea23e91c0cadc6 (diff) | |
download | rails-319ae4628f4e0058de3e40e4ca7791b17e45e70c.tar.gz rails-319ae4628f4e0058de3e40e4ca7791b17e45e70c.tar.bz2 rails-319ae4628f4e0058de3e40e4ca7791b17e45e70c.zip |
Move HTTP libs and middleware into ActionDispatch component
Diffstat (limited to 'actionpack/test/controller/render_test.rb')
-rw-r--r-- | actionpack/test/controller/render_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/render_test.rb b/actionpack/test/controller/render_test.rb index 11b502a564..a339bb524c 100644 --- a/actionpack/test/controller/render_test.rb +++ b/actionpack/test/controller/render_test.rb @@ -1223,7 +1223,7 @@ class RenderTest < ActionController::TestCase assert !@response.headers.include?('Content-Length') assert_response :no_content - ActionController::StatusCodes::SYMBOL_TO_STATUS_CODE.each do |status, code| + ActionDispatch::StatusCodes::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 @@ -1231,7 +1231,7 @@ class RenderTest < ActionController::TestCase end def test_head_with_integer_status - ActionController::StatusCodes::STATUS_CODES.each do |code, message| + ActionDispatch::StatusCodes::STATUS_CODES.each do |code, message| get :head_with_integer_status, :status => code.to_s assert_equal message, @response.message end |