mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Fix deprecated Workspace::getActiveEditor call
This commit is contained in:
@@ -132,7 +132,7 @@ describe "GitRepository", ->
|
||||
atom.workspace.open(filePath)
|
||||
|
||||
runs ->
|
||||
editor = atom.workspace.getActiveEditor()
|
||||
editor = atom.workspace.getActiveTextEditor()
|
||||
|
||||
it "displays a confirmation dialog by default", ->
|
||||
spyOn(atom, 'confirm').andCallFake ({buttons}) -> buttons.OK()
|
||||
|
||||
Reference in New Issue
Block a user