diff --git a/spec/workspace-spec.coffee b/spec/workspace-spec.coffee index 10e0711bc..b39570db0 100644 --- a/spec/workspace-spec.coffee +++ b/spec/workspace-spec.coffee @@ -18,7 +18,7 @@ describe "Workspace", -> atom.project.setPaths([atom.project.getDirectories()[0]?.resolve('dir')]) atom.workspace = workspace = new Workspace({ config: atom.config, project: atom.project, packageManager: atom.packages, - grammarRegistry: atom.grammars, notificationManager: atom.notifications, + notificationManager: atom.notifications, clipboard: atom.clipboard, viewRegistry: atom.views, grammarRegistry: atom.grammars, setRepresentedFilename: jasmine.createSpy('setRepresentedFilename'), setDocumentEdited: setDocumentEdited, atomVersion: atom.getVersion(), @@ -36,7 +36,7 @@ describe "Workspace", -> atom.project.deserialize(projectState, atom.deserializers) atom.workspace = new Workspace({ config: atom.config, project: atom.project, packageManager: atom.packages, - grammarRegistry: atom.grammars, notificationManager: atom.notifications, + notificationManager: atom.notifications, clipboard: atom.clipboard, viewRegistry: atom.views, grammarRegistry: atom.grammars, setRepresentedFilename: jasmine.createSpy('setRepresentedFilename'), setDocumentEdited: setDocumentEdited, assert: atom.assert.bind(atom) @@ -635,8 +635,8 @@ describe "Workspace", -> workspace2 = new Workspace({ config: atom.config, project: atom.project, packageManager: atom.packages, - grammarRegistry: atom.grammars, notificationManager: atom.notifications, - clipboard: atom.clipboard, viewRegistry: atom.views, grammarRegistry: atom.grammars, + notificationManager: atom.notifications, clipboard: atom.clipboard, + viewRegistry: atom.views, grammarRegistry: atom.grammars, setRepresentedFilename: jasmine.createSpy('setRepresentedFilename'), setDocumentEdited: setDocumentEdited, atomVersion: atom.getVersion(), assert: atom.assert.bind(atom) @@ -695,8 +695,8 @@ describe "Workspace", -> document.title = null workspace2 = new Workspace({ config: atom.config, project: atom.project, packageManager: atom.packages, - grammarRegistry: atom.grammars, notificationManager: atom.notifications, - clipboard: atom.clipboard, viewRegistry: atom.views, grammarRegistry: atom.grammars, + notificationManager: atom.notifications, clipboard: atom.clipboard, + viewRegistry: atom.views, grammarRegistry: atom.grammars, setRepresentedFilename: jasmine.createSpy('setRepresentedFilename'), setDocumentEdited: setDocumentEdited, atomVersion: atom.getVersion(), assert: atom.assert.bind(atom)