From c8c758642a0a154effc29847f73b41aad0562b86 Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Tue, 17 Jun 2014 12:47:53 +0100 Subject: [PATCH] removed reference to easy image --- .../filestore/test/unit/coffee/FileConverterTests.coffee | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/services/filestore/test/unit/coffee/FileConverterTests.coffee b/services/filestore/test/unit/coffee/FileConverterTests.coffee index b56cb55eb2..a1305684d1 100644 --- a/services/filestore/test/unit/coffee/FileConverterTests.coffee +++ b/services/filestore/test/unit/coffee/FileConverterTests.coffee @@ -10,13 +10,9 @@ describe "FileConverter", -> beforeEach -> - @easyimage = - convert:sinon.stub() - exec: sinon.stub() @child_process = exec : sinon.stub() @converter = SandboxedModule.require modulePath, requires: - "easyimage":@easyimage 'child_process': @child_process "logger-sharelatex": log:-> @@ -55,7 +51,7 @@ describe "FileConverter", -> done() describe "thumbnail", -> - it "should call easy image resize with args", (done)-> + it "should call converter resize with args", (done)-> @child_process.exec.callsArgWith(2) @converter.thumbnail @sourcePath, (err)=> args = @child_process.exec.args[0][0] @@ -63,7 +59,7 @@ describe "FileConverter", -> done() describe "preview", -> - it "should call easy image resize with args", (done)-> + it "should call converter resize with args", (done)-> @child_process.exec.callsArgWith(2) @converter.preview @sourcePath, (err)=> args = @child_process.exec.args[0][0]