Allow optional image name to be passed

This commit is contained in:
James Allen
2016-01-12 17:04:42 +00:00
parent 601a3e4805
commit 4497352a3a
6 changed files with 14 additions and 6 deletions

View File

@@ -44,6 +44,7 @@ describe "CompileManager", ->
project_id: @project_id = "project-id-123"
compiler: @compiler = "pdflatex"
timeout: @timeout = 42000
imageName: @image = "example.com/image"
@Settings.compileDir = "compiles"
@compileDir = "#{@Settings.path.compilesDir}/#{@project_id}"
@ResourceWriter.syncResourcesToDisk = sinon.stub().callsArg(3)
@@ -64,6 +65,7 @@ describe "CompileManager", ->
mainFile: @rootResourcePath
compiler: @compiler
timeout: @timeout
image: @image
})
.should.equal true