From 46ac74a16034fc879453262ddb963cf14fbc3d41 Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Mon, 26 Feb 2018 14:26:04 +0000 Subject: [PATCH] Fix incorrectly scoped variable --- .../web/test/unit/coffee/Project/ProjectLocatorTests.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/test/unit/coffee/Project/ProjectLocatorTests.coffee b/services/web/test/unit/coffee/Project/ProjectLocatorTests.coffee index fe5464fc86..e19c481d8a 100644 --- a/services/web/test/unit/coffee/Project/ProjectLocatorTests.coffee +++ b/services/web/test/unit/coffee/Project/ProjectLocatorTests.coffee @@ -296,7 +296,7 @@ describe 'ProjectLocator', -> it "should not crash with a null", (done)-> path = "/other.tex" - @locator.findElementByPath {project_id: @project._id, path}, (err, element)-> + @locator.findElementByPath {project_id: project._id, path}, (err, element)-> expect(err).to.exist done()