mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-18 19:58:52 +00:00
Fix some of the formatting changes - was accidentally testing against a newer version of coffeescript
This commit is contained in:
parent
63fea58d08
commit
17c7e199bd
3 changed files with 9 additions and 9 deletions
|
|
@ -47,10 +47,10 @@ describe "API", ->
|
|||
randomID = shared.uuid()
|
||||
username = password = randomID if main
|
||||
request
|
||||
.post baseURL + "/register"
|
||||
.set "Accept", "application/json"
|
||||
.set "X-API-User", null
|
||||
.set "X-API-Key", null
|
||||
.post(baseURL + "/register")
|
||||
.set("Accept", "application/json")
|
||||
.set("X-API-User", null)
|
||||
.set("X-API-Key", null)
|
||||
.send
|
||||
username: randomID
|
||||
password: randomID
|
||||
|
|
@ -67,9 +67,9 @@ describe "API", ->
|
|||
expect(err).to.not.be.ok()
|
||||
user = _user
|
||||
request
|
||||
.set "Accept", "application/json"
|
||||
.set "X-API-User", _id
|
||||
.set "X-API-Key", apiToken
|
||||
.set("Accept", "application/json")
|
||||
.set("X-API-User", _id)
|
||||
.set("X-API-Key", apiToken)
|
||||
cb null, res.body
|
||||
|
||||
before (done) ->
|
||||
|
|
|
|||
|
|
@ -4,5 +4,5 @@
|
|||
--check-leaks
|
||||
--growl
|
||||
--debug
|
||||
--compilers coffee:coffee-script/register
|
||||
--compilers coffee:coffee-script
|
||||
--globals io
|
||||
|
|
|
|||
|
|
@ -4,5 +4,5 @@
|
|||
--check-leaks
|
||||
--growl
|
||||
--debug
|
||||
--compilers coffee:coffee-script/register
|
||||
--compilers coffee:coffee-script
|
||||
--globals io
|
||||
|
|
|
|||
Loading…
Reference in a new issue