Don't $watch drops (#7547)

* WIP(drops): get drops out of _tmp

* fix(notifications): no watch for drops/mystery

* fix(ops): only two response values

* fix(test): update op expectation
Also update API docs for modified route.

* fix(lint): remove trailing space

* fix(test): update integration check
This commit is contained in:
Sabe Jones
2016-05-31 14:56:33 -05:00
parent 9b56c6f2ba
commit fcc14520c5
7 changed files with 68 additions and 63 deletions
+2 -1
View File
@@ -5,6 +5,7 @@ import {
import {
BadRequest,
} from '../../../common/script/libs/errors';
import content from '../../../common/script/content/index';
import i18n from '../../../common/script/i18n';
describe('shared.ops.openMysteryItem', () => {
@@ -33,6 +34,6 @@ describe('shared.ops.openMysteryItem', () => {
expect(user.items.gear.owned[mysteryItemKey]).to.be.true;
expect(message).to.equal(i18n.t('mysteryItemOpened'));
expect(data).to.equal(user.items.gear.owned);
expect(data).to.eql(content.gear.flat[mysteryItemKey]);
});
});