Use async repo, add missing return

This commit is contained in:
Daniel Hengeveld
2015-11-11 16:06:18 +01:00
parent c84c5cb72f
commit 55a1d3b75f

View File

@@ -312,6 +312,8 @@ describe('GitRepositoryAsync-js', () => {
// to complete before we continue.
let repository = atom.project.getRepositories()[0]
waitsForPromise(() => repository.refreshStatus())
let repository = atom.project.getRepositories()[0].async
waitsForPromise(() => { return repository.refreshStatus })
})
asyncIt('emits a status-changed event when a buffer is saved', async () => {