From 485a4deb837ee2c12ca460f219342ba6858c6cf6 Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Wed, 11 Feb 2015 23:01:19 -0800 Subject: [PATCH] Fix an assertion that was failing but was being reported as part of the wrong test. --- spec/project-spec.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/project-spec.coffee b/spec/project-spec.coffee index 3f726a9d6..4a8e98957 100644 --- a/spec/project-spec.coffee +++ b/spec/project-spec.coffee @@ -231,7 +231,7 @@ describe "Project", -> runs -> dirPath = directory.getRealPathSync() expect(the_result).toBeInstanceOf GitRepository - expect(the_result.getWorkingDirectory()).toBe path.join(dirPath, '.git') + expect(the_result.getPath()).toBe path.join(dirPath, '.git') expect(atom.project.repositoryPromisesByPath.size).toBe 1 expect(atom.project.repositoryPromisesByPath.get dirPath).toBe the_promise