diff --git a/spec/git-repository-async-spec.coffee b/spec/git-repository-async-spec.coffee index 5cd8e22d1..6c4f54639 100644 --- a/spec/git-repository-async-spec.coffee +++ b/spec/git-repository-async-spec.coffee @@ -426,7 +426,8 @@ describe "GitRepositoryAsync", -> atom.workspace.open('file.txt') runs -> - project2 = atom.project.deserialize(atom.project.serialize(), atom.deserializers) + project2 = new Project({notificationManager: atom.notifications, packageManager: atom.packages, confirm: atom.confirm}) + project2.deserialize(atom.project.serialize(), atom.deserializers) buffer = project2.getBuffers()[0] waitsFor ->