mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 15:38:59 +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()
|
randomID = shared.uuid()
|
||||||
username = password = randomID if main
|
username = password = randomID if main
|
||||||
request
|
request
|
||||||
.post baseURL + "/register"
|
.post(baseURL + "/register")
|
||||||
.set "Accept", "application/json"
|
.set("Accept", "application/json")
|
||||||
.set "X-API-User", null
|
.set("X-API-User", null)
|
||||||
.set "X-API-Key", null
|
.set("X-API-Key", null)
|
||||||
.send
|
.send
|
||||||
username: randomID
|
username: randomID
|
||||||
password: randomID
|
password: randomID
|
||||||
|
|
@ -67,9 +67,9 @@ describe "API", ->
|
||||||
expect(err).to.not.be.ok()
|
expect(err).to.not.be.ok()
|
||||||
user = _user
|
user = _user
|
||||||
request
|
request
|
||||||
.set "Accept", "application/json"
|
.set("Accept", "application/json")
|
||||||
.set "X-API-User", _id
|
.set("X-API-User", _id)
|
||||||
.set "X-API-Key", apiToken
|
.set("X-API-Key", apiToken)
|
||||||
cb null, res.body
|
cb null, res.body
|
||||||
|
|
||||||
before (done) ->
|
before (done) ->
|
||||||
|
|
|
||||||
|
|
@ -4,5 +4,5 @@
|
||||||
--check-leaks
|
--check-leaks
|
||||||
--growl
|
--growl
|
||||||
--debug
|
--debug
|
||||||
--compilers coffee:coffee-script/register
|
--compilers coffee:coffee-script
|
||||||
--globals io
|
--globals io
|
||||||
|
|
|
||||||
|
|
@ -4,5 +4,5 @@
|
||||||
--check-leaks
|
--check-leaks
|
||||||
--growl
|
--growl
|
||||||
--debug
|
--debug
|
||||||
--compilers coffee:coffee-script/register
|
--compilers coffee:coffee-script
|
||||||
--globals io
|
--globals io
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue