Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
Wliu authored and Wliu committed Nov 15, 2017
1 parent 69c57b1 commit eabd725
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions spec/tree-view-package-spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -2177,11 +2177,13 @@ describe "TreeView", ->
expect(callback).not.toHaveBeenCalled()

describe "tree-view:move", ->
beforeEach ->
jasmine.attachToDOM(workspaceElement)

describe "when a file is selected", ->
[moveDialog, callback] = []

beforeEach ->
jasmine.attachToDOM(workspaceElement)
callback = jasmine.createSpy("onEntryMoved")
treeView.onEntryMoved(callback)

Expand Down Expand Up @@ -2342,8 +2344,6 @@ describe "TreeView", ->
moveDialog = null

beforeEach ->
jasmine.attachToDOM(workspaceElement)

waitForWorkspaceOpenEvent ->
atom.workspace.open(filePath)

Expand Down Expand Up @@ -3465,6 +3465,7 @@ describe "TreeView", ->
describe "showSelectedEntryInFileManager()", ->
beforeEach ->
atom.notifications.clear()
jasmine.attachToDOM(workspaceElement)

it "displays the standard error output when the process fails", ->
{BufferedProcess} = require 'atom'
Expand Down

0 comments on commit eabd725

Please sign in to comment.