mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-30 10:56:53 -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)
|
expect(response.statusCode).toBe(200)
|
||||||
user = User.findOne(joe.get('_id')).exec (err, user) ->
|
user = User.findOne(joe.get('_id')).exec (err, user) ->
|
||||||
expect(user.get('emails').recruitNotes.enabled).toBe(false)
|
expect(user.get('emails').recruitNotes.enabled).toBe(false)
|
||||||
|
expect(user.isEmailSubscriptionEnabled('generalNews')).toBeTruthy()
|
||||||
done()
|
done()
|
||||||
|
|
Loading…
Reference in a new issue