Update tests

This commit is contained in:
Paulo Reis
2018-10-10 14:09:47 +01:00
parent 901fb0fc1e
commit b0802380ae
@@ -88,11 +88,11 @@ describe 'TemplatesController', ->
it "should set project options based on payload data", (done)->
@compiler = "pdflatex"
@mainFile = "main.tex"
@templateVersionId = 15
@brandVariationId = "123"
@req.body =
templateVersionId: 15
templateId: 14231
templateVersionId: @templateVersionId
name: @templateName
compiler: @compiler
mainFile: @mainFile
@@ -108,11 +108,11 @@ describe 'TemplatesController', ->
it "should only set project options which are defined in the payload", (done)->
@compiler = "pdflatex"
@templateVersionId = 15
@brandVariationId = "123"
@req.body =
templateVersionId: 15
templateId: 14231
templateVersionId: @templateVersionId
name: @templateName
compiler: @compiler
brandVariationId: @brandVariationId