lint: Use eslint --fix to automatically fix some issues in api v2 tests

This commit is contained in:
Blade Barringer
2016-01-02 18:28:06 -06:00
parent 262d04e14c
commit ff1e5ef221
7 changed files with 20 additions and 20 deletions

View File

@@ -37,9 +37,9 @@ describe('DELETE /user', () => {
});
it('deletes party when user is the only member', async () => {
return expect(user.del('/user').then((result) => {
return checkExistence('groups', party._id);
})).to.eventually.eql(false);
return expect(user.del('/user').then((result) => {
return checkExistence('groups', party._id);
})).to.eventually.eql(false);
});
});
@@ -56,9 +56,9 @@ describe('DELETE /user', () => {
});
it('deletes guild when user is the only member', async () => {
return expect(user.del('/user').then((result) => {
return checkExistence('groups', guild._id);
})).to.eventually.eql(false);
return expect(user.del('/user').then((result) => {
return checkExistence('groups', guild._id);
})).to.eventually.eql(false);
});
});