diff --git a/spec/helpers/helper.js b/spec/helpers/helper.js index 095663f95..f133f469c 100644 --- a/spec/helpers/helper.js +++ b/spec/helpers/helper.js @@ -36,7 +36,7 @@ if (database.generateMongoConnectionString() !== dbString) { throw Error('Stopping server tests because db connection string was not as expected.'); } -jasmine.DEFAULT_TIMEOUT_INTERVAL = 1000 * 10; // for long Stripe tests +jasmine.DEFAULT_TIMEOUT_INTERVAL = 1000 * 15; // for long Stripe tests require('../server/common'); // Make sure global testing functions are set up // Ignore Stripe/Nocking erroring diff --git a/spec/server/functional/clan.spec.coffee b/spec/server/functional/clan.spec.coffee index 5a1f06c11..c72aca016 100644 --- a/spec/server/functional/clan.spec.coffee +++ b/spec/server/functional/clan.spec.coffee @@ -403,10 +403,10 @@ describe 'Clans', -> loginNewUser (user2) -> user2.set 'stripe.free', true user2.save (err) -> - request.put {uri: "#{clanURL}/#{clan.id}/join" }, (err, res, body) -> - expect(err).toBeNull() - expect(res.statusCode).toBe(200) - done() + request.put {uri: "#{clanURL}/#{clan.id}/join" }, (err, res, body) -> + expect(err).toBeNull() + expect(res.statusCode).toBe(200) + done() it 'Join clan when not premium 403', (done) -> loginNewUser (user1) ->