Skip to content

Commit

Permalink
Update party test to conform to new leader populate
Browse files Browse the repository at this point in the history
  • Loading branch information
TheHollidayInn committed Jan 17, 2016
1 parent b60e0a4 commit 133a7c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/api/v3/integration/groups/GET-groups.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
generateGroup,
} from '../../../../helpers/api-v3-integration.helper';

describe('GET /groups', () => {
describe.only('GET /groups', () => {
let user;
const NUMBER_OF_PUBLIC_GUILDS = 3;
const NUMBER_OF_USERS_PRIVATE_GUILDS = 1;
Expand Down Expand Up @@ -77,7 +77,7 @@ describe('GET /groups', () => {
await expect(user.get('/groups?type=party'))
.to.eventually.have.a.lengthOf(1)
.and.to.have.deep.property('[0]')
.and.to.have.property('leader', user._id);
.and.to.have.property('leader._id', user._id);
});

it('returns all public guilds when publicGuilds passed in as query', async () => {
Expand Down

0 comments on commit 133a7c0

Please sign in to comment.