   daisy
   expect
   ObjectId
+  fetchGroup
   expectRelation
   withDummyClient
   generateUserInfo

_                       = require 'underscore'
hat                     = require 'hat'
JUser                   = require '../lib/social/models/user'
JAccount                = require '../lib/social/models/account'
JSession                = require '../lib/social/models/session'
Bongo                   = require 'bongo'

    callback relationship


fetchGroup = (client, callback) ->

  JGroup.one { slug : client?.context?.group }, (err, group) ->
    expect(err).to.not.exist
    callback group


expectRelation = {

  toExist : (options, callback) ->
