Skip to content

Commit

Permalink
Merge pull request #45 from Turistforeningen/fix/test-checkin
Browse files Browse the repository at this point in the history
fix(checkin): test using `appMocked` not `app`
  • Loading branch information
Håvard Ranum authored Sep 8, 2016
2 parents ba34809 + 4c6f16a commit 67ae9fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/acceptance/checkin.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ describe('POST /steder/:sted/besok', () => {
};

it('returns error for missing user auth', () => (
app.post(url)
appMocked.post(url)
.send(checkinData)
.expect(401)
.expect({
Expand Down

0 comments on commit 67ae9fb

Please sign in to comment.