mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Added another check to the recruit unsubscribe test, to make sure it doesn't affect other subscriptions.
This commit is contained in:
parent
b3197c36b0
commit
20541f5520
1 changed files with 1 additions and 0 deletions
|
@ -152,4 +152,5 @@ describe '/auth/unsubscribe', ->
|
|||
expect(response.statusCode).toBe(200)
|
||||
user = User.findOne(joe.get('_id')).exec (err, user) ->
|
||||
expect(user.get('emails').recruitNotes.enabled).toBe(false)
|
||||
expect(user.isEmailSubscriptionEnabled('generalNews')).toBeTruthy()
|
||||
done()
|
||||
|
|
Loading…
Reference in a new issue