Skip to content

Commit

Permalink
Le't find out why prices are not ordered as expected when run on travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
hajoeichler committed Jul 20, 2015
1 parent aa630da commit 4320369
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/spec/integration/impex.spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,14 @@ describe 'Impex integration tests', ->
expect(result[1]).toBe '[row 4] New product created.'
file = '/tmp/impex.csv'
@exporter.export(csv, file)
.then (result) ->
.then (result) =>
console.log "export", result
expect(result).toBe 'Export done.'
@client.products.all().fetch()
.then (res) ->
console.log "products %j", res.body
fs.readFileAsync file, {encoding: 'utf8'}
.then (content) =>
.then (content) ->
console.log "export file content", content
expect(content).toMatch header
expect(content).toMatch p1
Expand Down

0 comments on commit 4320369

Please sign in to comment.