 _.mixin require('sphere-node-utils')._u
 SphereClient = require '../../lib/client'
 Config = require('../../config').config
-{_u} = require('sphere-node-utils')
-
 
 CHANNEL_KEY = 'OrderXmlFileExport'
 ROLE_ORDER_EXPORT = 'OrderExport'

      expect(result.body.roles).toEqual [ROLE_INVENTORY_SUPPLY, ROLE_ORDER_EXPORT]
      done()
    .fail (error) ->
      done _u.prettify(err)

  it 'should fetch an existing channel and return it', (done) ->


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

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