mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Fix spec that wasn't actually testing anything
This commit is contained in:
@@ -56,8 +56,8 @@ describe "TreeView", ->
|
||||
grandchild = child.find('.entries > li:contains(a-dir/)').view()
|
||||
grandchild.disclosureArrow.click()
|
||||
|
||||
rootDirectoryView.find('> .disclosure-arrow').click()
|
||||
rootDirectoryView.find('> .disclosure-arrow').click()
|
||||
rootDirectoryView.collapse()
|
||||
rootDirectoryView.expand()
|
||||
|
||||
# previously expanded descendants remain expanded
|
||||
expect(rootDirectoryView.find('> .entries > li:contains(dir/) > .entries > li:contains(a-dir/) > .entries').length).toBe 1
|
||||
|
||||
Reference in New Issue
Block a user