       expect(result.body.roles).toEqual [ROLE_ORDER_EXPORT]
       done()
     .fail (error) ->
-      done _u.prettify(err)
+      done _.prettify(err)
 
   it 'should fetch an existing channel, add given role and return it', (done) ->
 

      expect(result.statusCode).toBe 200
      done()
    .fail (error) ->
      done _u.prettify(error)

  it 'should update a channel', (done) ->
    @client.channels.byId(@channel.id).update(updateChannel(@channel.version))

      expect(@channel.roles).toEqual [ROLE_INVENTORY_SUPPLY, ROLE_ORDER_EXPORT]
      done()
    .fail (error) ->
      done _.prettify(error)

  it 'should create a new channel with given role and return it', (done) ->
    key = uniqueId "channel"
