move texliveImageNameOveride further down request so it works for

compile tests
This commit is contained in:
Henry Oswald
2018-07-13 11:52:49 +01:00
parent 3545852173
commit 8d846f64a9
3 changed files with 10 additions and 12 deletions

View File

@@ -66,14 +66,6 @@ describe "RequestParser", ->
it "should set the imageName", ->
@data.imageName.should.equal "basicImageName/here:2017-1"
describe "with texliveImageNameOveride set", ->
beforeEach ->
@settings.texliveImageNameOveride = "usethisoveride/overhere"
@RequestParser.parse @validRequest, (error, @data) =>
it "should override the image path", ->
@data.imageName.should.equal "usethisoveride/overhere:2017-1"
describe "without a timeout specified", ->
beforeEach ->
delete @validRequest.compile.options.timeout