diff --git a/spec/git-spec.coffee b/spec/git-spec.coffee index 3774f14c4..0226c7cac 100644 --- a/spec/git-spec.coffee +++ b/spec/git-spec.coffee @@ -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()