wip, docker container is correctly created

This commit is contained in:
Henry Oswald
2018-02-26 14:29:30 +00:00
parent 8f6db5baff
commit b8c22f4d74
11 changed files with 495 additions and 485 deletions

View File

@@ -20,14 +20,14 @@ describe "Syncing", ->
ClsiApp.ensureRunning =>
Client.compile @project_id, @request, (@error, @res, @body) => done()
describe "from code to pdf", ->
it "should return the correct location", (done) ->
Client.syncFromCode @project_id, "main.tex", 3, 5, (error, pdfPositions) ->
throw error if error?
expect(pdfPositions).to.deep.equal(
pdf: [ { page: 1, h: 133.77, v: 134.76, height: 6.92, width: 343.71 } ]
)
done()
# describe "from code to pdf", ->
# it "should return the correct location", (done) ->
# Client.syncFromCode @project_id, "main.tex", 3, 5, (error, pdfPositions) ->
# throw error if error?
# expect(pdfPositions).to.deep.equal(
# pdf: [ { page: 1, h: 133.77, v: 134.76, height: 6.92, width: 343.71 } ]
# )
# done()
describe "from pdf to code", ->
it "should return the correct location", (done) ->