Removed a function call in hopes of correct updation of challenge variable

This commit is contained in:
NotGonnaGitUs 2015-05-04 18:16:02 +05:30
parent 079df668ce
commit 168d72fb0a

View file

@ -485,7 +485,6 @@ describe "API", ->
"balance": 8
, (err, user) ->
expect(err).to.not.be.ok()
(cb) ->
request.post(baseURL + "/challenges").send(
group: group._id
dailys: []
@ -504,7 +503,6 @@ describe "API", ->
_user = results[0]
challenge = results[1]
expect(_user.balance).to.be 5.5
cb()
done()
it "User deletes a challenge with prize and gets refund", (done) ->