Remove @path var from project

This commit is contained in:
Corey Johnson
2012-05-08 11:00:27 -07:00
parent 545671a641
commit cb45675f14
7 changed files with 21 additions and 25 deletions

View File

@@ -43,7 +43,7 @@ describe 'FileFinder', ->
describe "when root view's project has no path", ->
beforeEach ->
rootView.project.path = undefined
rootView.project.setPath(null)
it "does not open the FileFinder", ->
expect(rootView.find('.file-finder')).not.toExist()

View File

@@ -43,7 +43,7 @@ describe "TreeView", ->
expect(rootEntries.find('> .file:contains(sample.js)')).toExist()
expect(rootEntries.find('> .file:contains(sample.txt)')).toExist()
describe "when the project has not path", ->
describe "when the project has no path", ->
beforeEach ->
treeView.deactivate()