mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-14 07:00:01 -04:00
🐛Fix delighted trial request test
This commit is contained in:
parent
c92f2e152e
commit
860ac8894b
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@ describe 'POST /db/trial.request', ->
|
|||
@user = yield utils.initUser({gender: 'male', lastLevel: 'abcd', preferredLanguage: 'de', testGroupNumber: 1})
|
||||
yield utils.loginUser(@user)
|
||||
fixture.properties.email = @user.get('email')
|
||||
fixture.type = 'course'
|
||||
[res, body] = yield request.postAsync(getURL('/db/trial.request'), { json: fixture })
|
||||
expect(delighted.postPeople).toHaveBeenCalled()
|
||||
args = delighted.postPeople.calls.argsFor(0)
|
||||
|
|
Loading…
Reference in a new issue