Просмотр исходного кода

Fix incorrectly scoped variable

Alasdair Smith 8 лет назад
Родитель
Сommit
46ac74a160
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      services/web/test/unit/coffee/Project/ProjectLocatorTests.coffee

+ 1 - 1
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()