Преглед изворни кода

Fix incorrectly scoped variable

Alasdair Smith пре 8 година
родитељ
комит
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()