     .catch (err) -> done(_.prettify err)
   , 30000 # 10sec
 
-  it 'should update price of products', (done) ->
+  it 'should update prices of a product', (done) ->
     prices = [
       {
         sku: 'sku1'

      getOrCreateProductType @client
    .then (@productType) =>
      createProduct @client, @productType
    .then (@product) =>
      done()
    .catch (err) ->
      done(_.prettify err)

      client.products.byId(e.id).delete(e.version)
  .then (results) ->
    debug "#{_.size results} deleted."
    client.productTypes.all().fetch()
    .then (result) ->
      Promise.all _.map result.body.results, (e) ->
        client.productTypes.byId(e.id).delete(e.version)
    .then (results) ->
      debug "#{_.size results} deleted."
      Promise.resolve()

getOrCreateProductType = (client) ->
  new Promise (resolve, reject) ->
    name = 'productTypeForPriceImport'
    client.productTypes.where("name=\"#{name}\"").fetch()
    .then (result) ->
      if result.body.total is 0
        pt =
          name: name
          description: 'bla bla'
        client.productTypes.create(pt)
        .then (res) -> resolve res.body
      else
        resolve result.body.results[0]

createProduct = (client, productType) ->
  product =
