Fix incorrectly scoped variable

This commit is contained in:
Alasdair Smith 2018-02-26 14:26:04 +00:00
parent 2247e4d465
commit 46ac74a160

View file

@ -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()