From 88f050ba0640d64fb906acede980f2a7244f4f83 Mon Sep 17 00:00:00 2001 From: Matt Lott Date: Tue, 30 Dec 2014 12:18:32 -0800 Subject: [PATCH] Disable invalid analytics server tests --- test/server/unit/analytics.spec.coffee | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test/server/unit/analytics.spec.coffee b/test/server/unit/analytics.spec.coffee index b051c352f..c25cad7c4 100644 --- a/test/server/unit/analytics.spec.coffee +++ b/test/server/unit/analytics.spec.coffee @@ -9,9 +9,12 @@ User = require '../../../server/users/User' # TODO: these tests have some rerun/cleanup issues # TODO: add tests for purchase, payment, subscribe, unsubscribe, and earned achievements +# TODO: AnalyticsUsersActive collection isn't currently used. +# TODO: Will remove these tests if we end up ripping out the disabled saveActiveUser calls. + describe 'Analytics', -> - it 'registered user', (done) -> + xit 'registered user', (done) -> clearModels [AnalyticsUsersActive], (err) -> expect(err).toBeNull() user = new User @@ -29,7 +32,7 @@ describe 'Analytics', -> expect(activeUsers[0]?.get('event')).toEqual('register') done() - it 'level completed', (done) -> + xit 'level completed', (done) -> clearModels [AnalyticsUsersActive], (err) -> expect(err).toBeNull() unittest.getNormalJoe (joe) -> @@ -53,7 +56,7 @@ describe 'Analytics', -> expect(activeUsers[0]?.get('event')).toEqual('level-completed/lotr') done() - it 'level playtime', (done) -> + xit 'level playtime', (done) -> clearModels [AnalyticsUsersActive], (err) -> expect(err).toBeNull() unittest.getNormalJoe (joe) ->