Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
clearbit
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
prospector
clearbit
Commits
2057bb6a
Commit
2057bb6a
authored
Oct 12, 2014
by
Ben Drucker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update test for fixed basic auth header
* should be base 64 encoded '{{user}}:' * previously left out colon
parent
50f1cc3f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
client.js
test/client.js
+1
-1
No files found.
test/client.js
View file @
2057bb6a
...
...
@@ -118,7 +118,7 @@ describe('Client', function () {
it
(
'sends a basic auth header'
,
function
()
{
mock
.
get
(
'/v1/people/email/bvdrucker@gmail.com'
)
.
matchHeader
(
'Authorization'
,
'Basic a
w=
='
)
.
matchHeader
(
'Authorization'
,
'Basic a
zo
='
)
.
reply
(
202
);
return
client
.
request
({
api
:
'person'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment