lint: Correct linting errors in api v3 tests

This commit is contained in:
Blade Barringer
2015-12-31 08:50:02 -06:00
parent 70151fd073
commit 9428c6d997
25 changed files with 218 additions and 234 deletions

View File

@@ -36,7 +36,7 @@ describe('GET /groups/:groupId/chat', () => {
});
it('returns Guild chat', () => {
return user.get('/groups/' + group._id + '/chat')
return user.get(`/groups/${group._id}/chat`)
.then((getChat) => {
expect(getChat).to.eql(group.chat);
});
@@ -67,7 +67,7 @@ describe('GET /groups/:groupId/chat', () => {
it('returns error if user is not member of requested private group', () => {
return expect(
user.get('/groups/' + group._id + '/chat')
user.get(`/groups/${group._id}/chat`)
)
.to.eventually.be.rejected.and.eql({
code: 404,