Fix up settings schema and acceptance tests

This commit is contained in:
James Allen
2014-04-02 16:55:14 -04:00
parent 3851f5510f
commit 46510c0feb
6 changed files with 17 additions and 61 deletions

View File

@@ -6,6 +6,10 @@ ChildProcess = require "child_process"
fixturePath = (path) -> __dirname + "/../fixtures/" + path
try
fs.mkdirSync(fixturePath("tmp"))
catch e
convertToPng = (pdfPath, pngPath, callback = (error) ->) ->
convert = ChildProcess.exec "convert #{fixturePath(pdfPath)} #{fixturePath(pngPath)}"
convert.on "exit", () ->