Remove unneeded calls to rootView.deactivate

This commit is contained in:
Corey Johnson & Nathan Sobo
2013-02-19 17:28:35 -07:00
parent 9e8831f710
commit 47aa74133f
10 changed files with 1 additions and 30 deletions

View File

@@ -21,9 +21,6 @@ describe "TreeView", ->
expect(treeView.root.directory.subscriptionCount()).toBeGreaterThan 0
afterEach ->
rootView.deactivate()
describe ".initialize(project)", ->
it "renders the root of the project and its contents alphabetically with subdirectories first in a collapsed state", ->
expect(treeView.root.find('> .header .disclosure-arrow')).not.toHaveClass('expanded')
@@ -616,7 +613,6 @@ describe "TreeView", ->
fileView = treeView.find('.file:contains(test-file.txt)').view()
afterEach ->
rootView.deactivate()
fs.remove(rootDirPath) if fs.exists(rootDirPath)
describe "tree-view:add", ->