Skip to content

Commit b35f2d3

Browse files
WliuWliu
Wliu
authored and
Wliu
committed
Fix another spec
1 parent 9249d0b commit b35f2d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/atom-environment-spec.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ describe "AtomEnvironment", ->
368368
it "opens an empty buffer", ->
369369
spyOn(atom.workspace, 'open')
370370
atom.openInitialEmptyEditorIfNecessary()
371-
expect(atom.workspace.open).toHaveBeenCalledWith(null)
371+
expect(atom.workspace.open).toHaveBeenCalledWith(null, {pending: true})
372372

373373
describe "when there is already a buffer open", ->
374374
beforeEach ->

0 commit comments

Comments
 (0)