Add failing symlink spec

This commit is contained in:
Kevin Sawicki
2013-04-03 08:33:16 -07:00
parent 917fbaadad
commit aa8fb3eb4b

View File

@@ -60,6 +60,17 @@ describe 'FuzzyFinder', ->
expect(finderView.list.children().first()).toHaveClass 'selected'
expect(finderView.find(".loading")).not.toBeVisible()
it "includes symlinked file paths", ->
rootView.attachToDom()
finderView.maxItems = Infinity
rootView.trigger 'fuzzy-finder:toggle-file-finder'
waitsFor "all project paths to load", 5000, ->
not finderView.reloadProjectPaths
runs ->
expect(finderView.list.find("li:contains(symlink-to-file)")).toExist()
describe "when root view's project has no path", ->
beforeEach ->
project.setPath(null)