           (next) ->
             teamutils.fetchPlanData _group.config, (err, planData) ->
               expect(err).to.not.exist
-
               expect(planData).to.be.eql teamplans.default
-
               next()
         ]
 

          done()


      it 'should return default value when given plan is not even on the db', ->
        createGroupOptions =
          body:
            plan: "nonexistent-plan-#{generateRandomString 10}"
            slug: "team-with-nonexistent-plan-config-#{generateRandomString 10}"

        _group = null


          done()


beforeTests()

runTests()
