diff options
author | Rohit Arondekar <rohit.arondekar@gmail.com> | 2010-07-30 02:12:35 -0700 |
---|---|---|
committer | Rohit Arondekar <rohit.arondekar@gmail.com> | 2010-07-30 02:12:35 -0700 |
commit | 48d85a61bc0918d6ea1bad574c9672184d45f0ce (patch) | |
tree | bb88344fbcfa12bc274c2dd42778fabd6f6cfcab /actionpack/lib/action_controller/metal/http_authentication.rb | |
parent | ccd45618ed9a629c9535a5ff84ef5c238befa4ab (diff) | |
download | rails-48d85a61bc0918d6ea1bad574c9672184d45f0ce.tar.gz rails-48d85a61bc0918d6ea1bad574c9672184d45f0ce.tar.bz2 rails-48d85a61bc0918d6ea1bad574c9672184d45f0ce.zip |
API Docs: Use 'HTTP_AUTHORIZATION' and not :authorize as key in integration tests.
Diffstat (limited to 'actionpack/lib/action_controller/metal/http_authentication.rb')
-rw-r--r-- | actionpack/lib/action_controller/metal/http_authentication.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/http_authentication.rb b/actionpack/lib/action_controller/metal/http_authentication.rb index be7448ce01..b0eb24a4a8 100644 --- a/actionpack/lib/action_controller/metal/http_authentication.rb +++ b/actionpack/lib/action_controller/metal/http_authentication.rb @@ -63,7 +63,7 @@ module ActionController # def test_access_granted_from_xml # get( # "/notes/1.xml", nil, - # :authorization => ActionController::HttpAuthentication::Basic.encode_credentials(users(:dhh).name, users(:dhh).password) + # 'HTTP_AUTHORIZATION' => ActionController::HttpAuthentication::Basic.encode_credentials(users(:dhh).name, users(:dhh).password) # ) # # assert_equal 200, status |