i am bad at using GH desktop

This commit is contained in:
Daniel Hengeveld
2015-11-11 16:09:57 +01:00
parent 55a1d3b75f
commit 861d7550b5

View File

@@ -310,8 +310,6 @@ describe('GitRepositoryAsync-js', () => {
// we're in a known state. *But* it's really hard to observe that from the
// outside in a non-racy fashion. So let's refresh again and wait for it
// 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 })
})