Files
habitica/test/content/spells/rogue.js
Blade Barringer 152cb99750 Add spell tests
2015-09-29 12:58:53 -05:00

17 lines
438 B
JavaScript

import spells from '../../../common/script/src/content/spells/rogue';
import {each} from 'lodash';
describe('Rogue Spells', () => {
each(spells, (spell, key) => {
describe(`${key} Spell`, () => {
it('has a valid text attribute', () => {
expectValidTranslationString(spell.text);
});
it('has a valid notes attribute', () => {
expectValidTranslationString(spell.notes);
});
});
});
});