chore: lint files

This commit is contained in:
Blade Barringer
2016-04-13 20:10:27 -05:00
parent 13edca4588
commit e70add1ac4
3 changed files with 21 additions and 21 deletions
@@ -102,8 +102,8 @@ describe('POST /groups/:id/leave', () => {
it('deletes the group invitations from users', async () => {
await user.post(`/groups/${group._id}/leave`);
await expect(invitee1.get(`/user`)).to.eventually.have.deep.property('invitations.guilds').and.to.be.empty;
await expect(invitee2.get(`/user`)).to.eventually.have.deep.property('invitations.guilds').and.to.be.empty;
await expect(invitee1.get('/user')).to.eventually.have.deep.property('invitations.guilds').and.to.be.empty;
await expect(invitee2.get('/user')).to.eventually.have.deep.property('invitations.guilds').and.to.be.empty;
});
});
@@ -129,8 +129,8 @@ describe('POST /groups/:id/leave', () => {
it('deletes the group invitations from users', async () => {
await user.post(`/groups/${group._id}/leave`);
await expect(invitee1.get(`/user`)).to.eventually.have.deep.property('invitations.party').and.to.be.empty;
await expect(invitee2.get(`/user`)).to.eventually.have.deep.property('invitations.party').and.to.be.empty;
await expect(invitee1.get('/user')).to.eventually.have.deep.property('invitations.party').and.to.be.empty;
await expect(invitee2.get('/user')).to.eventually.have.deep.property('invitations.party').and.to.be.empty;
});
});
});
+1 -1
View File
@@ -19,7 +19,7 @@ describe('GET /user/tasks/', () => {
});
it('gets all tasks', async () => {
return user.get(`/user/tasks/`).then((tasks) => {
return user.get('/user/tasks/').then((tasks) => {
expect(tasks).to.be.an('array');
expect(tasks.length).to.be.greaterThan(3);