Thunderstorm Hatching Potions (#7885)

* feat(premium): Thunderstorm Potions

* chore(news): Thunderstorm Bailey

* fix(test): allow addlNotes key
This commit is contained in:
Sabe Jones
2016-08-09 17:37:39 -05:00
committed by GitHub
parent 689a321a9b
commit 051763bc49
46 changed files with 81 additions and 26 deletions

View File

@@ -22,7 +22,11 @@ describe('shops', () => {
it('items contain required fields', () => {
_.each(shopCategories, (category) => {
_.each(category.items, (item) => {
expect(item).to.have.all.keys(['key', 'text', 'notes', 'value', 'currency', 'locked', 'purchaseType', 'class']);
if (item.addlNotes) {
expect(item).to.have.all.keys(['key', 'text', 'notes', 'addlNotes', 'value', 'currency', 'locked', 'purchaseType', 'class']);
} else {
expect(item).to.have.all.keys(['key', 'text', 'notes', 'value', 'currency', 'locked', 'purchaseType', 'class']);
}
});
});
});