diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2014-12-28 22:37:34 +0100 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2014-12-28 22:55:09 +0100 |
commit | 73fe108d700cc2fa85bc7775c5a2ca9ca529849a (patch) | |
tree | 3a4859e0803afd36eacc9852ae6bc7c4bbd1c22a /actionpack | |
parent | edaab4dbe80ac9ae705be05f7d9e20f942e057ab (diff) | |
download | rails-73fe108d700cc2fa85bc7775c5a2ca9ca529849a.tar.gz rails-73fe108d700cc2fa85bc7775c5a2ca9ca529849a.tar.bz2 rails-73fe108d700cc2fa85bc7775c5a2ca9ca529849a.zip |
Minor documentation edits [ci skip]
Diffstat (limited to 'actionpack')
-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 33983d2c1d..a219d35b25 100644 --- a/actionpack/lib/action_controller/metal/http_authentication.rb +++ b/actionpack/lib/action_controller/metal/http_authentication.rb @@ -53,7 +53,7 @@ module ActionController # In your integration tests, you can do something like this: # # def test_access_granted_from_xml - # @request.env['HTTP_AUTHORIZATION'] => ActionController::HttpAuthentication::Basic.encode_credentials(users(:dhh).name, users(:dhh).password) + # @request.env['HTTP_AUTHORIZATION'] = ActionController::HttpAuthentication::Basic.encode_credentials(users(:dhh).name, users(:dhh).password) # get "/notes/1.xml" # # assert_equal 200, status |