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

    .catch (err) -> done(_.prettify err)
  , 30000 # 10sec

  it 'should update price of products', (done) ->
    prices = [
      {
        sku: 'sku1'

      { sku: 'sku2', prices: [ { value: { centAmount: 777, currencyCode: 'JPY' } } ] }
      { sku: 'sku3', prices: [ { value: { centAmount: 9, currencyCode: 'GBP' } } ] }
    ]
  client.products.create product

describe 'Price Importer integration tests', ->

