Fix an assertion that was failing but was being reported as part of the wrong test.

This commit is contained in:
Michael Bolin 2015-02-11 23:01:19 -08:00
parent 5b03cfe878
commit 485a4deb83

View File

@ -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