       @logger.info @channel, 'New channel created'
       done()
     .fail (error) ->
-      done _u.prettify(error)
+      done _.prettify(error)
 
   afterEach (done) ->
     @client.channels.byId(@channel.id).delete(@channel.version)

      expect(result.body.roles).toEqual @channel.roles
      done()
    .fail (error) ->
      done _u.prettify(err)

  it 'should fail if role value is not supported', (done) ->
    @client.channels.byKeyOrCreate(@channel.key, 'undefined-role')

      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"
