api: expose user's inbox.optOut for api/v3/members/:memberId #7798 (#7893)

* api: expose user's inbox.optOut for `api/v3/members/:memberId` #7798

* test: fixed chai exist vs exists typos

* _getMembersForItem: fixed typo in api docs
This commit is contained in:
Jaka Kranjc
2016-08-16 05:21:14 +02:00
committed by Blade Barringer
parent 1a409848a8
commit 408d988341
10 changed files with 29 additions and 25 deletions

View File

@@ -38,19 +38,19 @@ describe('shared.ops.equip', () => {
// one-handed to one-handed
let [, message] = equip(user, {params: {key: 'weapon_warrior_2'}});
expect(message).to.not.exists;
expect(message).to.not.exist;
// one-handed to two-handed
[, message] = equip(user, {params: {key: 'weapon_wizard_1'}});
expect(message).to.not.exists;
expect(message).to.not.exist;
// two-handed to two-handed
[, message] = equip(user, {params: {key: 'weapon_wizard_2'}});
expect(message).to.not.exists;
expect(message).to.not.exist;
// two-handed to one-handed
[, message] = equip(user, {params: {key: 'weapon_warrior_2'}});
expect(message).to.not.exists;
expect(message).to.not.exist;
});
it('should send messages if equipping a two-hander causes the off-hander to be unequipped', () => {