mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-22 08:28:41 +03:00
Test that removing a file updates the view for its containing directory in the TreeView
This commit is contained in:
parent
47c013f817
commit
f37017b94c
@ -303,9 +303,7 @@ describe "TreeView", ->
|
||||
runs ->
|
||||
expect(rootDirectoryView.entries.find('.entry').length).toBe entriesCountBefore + 1
|
||||
expect(rootDirectoryView.entries.find('.file:contains(temporary)')).toExist()
|
||||
fs.remove(temporaryFilePath)
|
||||
|
||||
describe "when a file is renamed in an expanded directory", ->
|
||||
|
||||
|
||||
|
||||
|
||||
waitsFor "directory view contens to refresh", ->
|
||||
rootDirectoryView.entries.find('.entry').length == entriesCountBefore
|
||||
|
Loading…
Reference in New Issue
Block a user