       client        = null
       account       = null
       userFormData  = generateDummyUserFormData()
-      socialAccount = null
 
       queue = [
 

      daisy queue


beforeTests()

runTests()

{ argv }                      = require 'optimist'
{ expect }                    = require "chai"
{ env : {MONGO_URL} }         = process

KONFIG                        = require('koding-config-manager').load("main.#{argv.c}")

Bongo                         = require 'bongo'
JUser                         = require './user'
mongo                         = MONGO_URL or "mongodb://#{ KONFIG.mongo }"
JAccount                      = require './account'
JSession                      = require './session'
TestHelper                    = require '../../../testhelper'

{ daisy }                     = Bongo
{ generateUserInfo
  generateDummyClient
  generateCredentials
  generateRandomEmail
  generateRandomString
  generateRandomUsername
  generateDummyUserFormData } = TestHelper


# making sure we have db connection before tests
beforeTests = -> before (done) ->

    bongo = new Bongo
