tests(api): Convert v2 status test to use await syntax

This commit is contained in:
Blade Barringer
2016-01-02 22:23:53 -06:00
parent 116fffaf4f
commit dfa2228dcc

View File

@@ -4,7 +4,6 @@ describe('Status', () => {
it('returns a status of up when server is up', async () => { it('returns a status of up when server is up', async () => {
let api = requester(); let api = requester();
return expect(api.get('/status')) await expect(api.get('/status')).to.eventually.eql({status: 'up'});
.to.eventually.eql({status: 'up'});
}); });
}); });