s//openNodeGitRepository/openRepository.

This commit is contained in:
joshaber
2016-01-05 15:26:16 -05:00
parent 24db4586e4
commit 757bbae1e2
2 changed files with 5 additions and 6 deletions

View File

@@ -45,14 +45,14 @@ describe('GitRepositoryAsync', () => {
})
})
describe('.openNodeGitRepository()', () => {
describe('.openRepository()', () => {
it('returns a new repository instance', async () => {
repo = openFixture('master.git')
const originalRepo = await repo.getRepo()
expect(originalRepo).not.toBeNull()
const nodeGitRepo = repo.openNodeGitRepository()
const nodeGitRepo = repo.openRepository()
expect(nodeGitRepo).not.toBeNull()
expect(originalRepo).not.toBe(nodeGitRepo)
})