Skip to content
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.

Commit

Permalink
Merge pull request #34 from duboff/patch-1
Browse files Browse the repository at this point in the history
Fix test guidance in ReadMe
  • Loading branch information
nsarno committed Jan 18, 2016
2 parents 20b8018 + d4fac42 commit d3e2cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ e.g.
class MyResourcesControllerTest < ActionController::TestCase
def authenticate
token = Knock::AuthToken.new(payload: { sub: users(:one).id }).token
request.env['HTTP_AUTHORIZATION'] = "bearer #{token}"
request.env['HTTP_AUTHORIZATION'] = "Bearer #{token}"
end

setup do
Expand Down

0 comments on commit d3e2cdc

Please sign in to comment.