mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-24 13:34:08 -05:00
Enable more server subs tests for Travis
This commit is contained in:
parent
9828bd5d1d
commit
9812986655
1 changed files with 562 additions and 564 deletions
|
@ -521,7 +521,6 @@ describe 'Subscriptions', ->
|
|||
throw err if err
|
||||
done()
|
||||
|
||||
unless TRAVIS
|
||||
describe 'Personal', ->
|
||||
it 'Subscribe user with new token', (done) ->
|
||||
stripe.tokens.create {
|
||||
|
@ -716,7 +715,6 @@ describe 'Subscriptions', ->
|
|||
expect(stripeInfo.subscriptionID).toBeUndefined()
|
||||
done()
|
||||
|
||||
unless TRAVIS
|
||||
describe 'Sponsored', ->
|
||||
it 'Unsubscribed user1 subscribes user2', (done) ->
|
||||
stripe.tokens.create {
|
||||
|
@ -1099,7 +1097,6 @@ describe 'Subscriptions', ->
|
|||
done()
|
||||
|
||||
|
||||
unless TRAVIS
|
||||
describe 'Bulk discounts', ->
|
||||
# Bulk discount algorithm (includes personal sub):
|
||||
# 1 100%
|
||||
|
@ -1165,6 +1162,7 @@ describe 'Subscriptions', ->
|
|||
expect(subscription.quantity).toEqual(0)
|
||||
done()
|
||||
|
||||
unless TRAVIS
|
||||
it 'Subscribed user1 subscribes 3 users, unsubscribes 2, themselves, then 1', (done) ->
|
||||
recipientCount = 3
|
||||
recipientsToVerify = [0, 1, 2]
|
||||
|
|
Loading…
Reference in a new issue