 describe 'Import', ->
   beforeEach (done) ->
     @importer = createImporter()
-    @rest = @importer.validator.rest
+    @client = @importer.client
 
     values = [
       { key: 'x', label: 'X' }

      @importer.import csv, (res) ->
        expect(res.status).toBe true
        expect(res.message).toBe '[row 2] New product created.'
        done()

    it 'should import a product with prices', (done) ->
      csv =
        """

_ = require 'underscore'
Import = require '../../lib/import'
Config = require '../../config'
TestHelpers = require './testhelpers'

jasmine.getEnv().defaultTimeoutInterval = 30000

