feat(content): Make mystery set strings translatable

Squashed and cleaned up version of
https://github.com/HabitRPG/habitrpg/pull/6367
This commit is contained in:
Nathan Maton
2015-12-12 20:03:17 -08:00
committed by Blade Barringer
parent e638661c71
commit 35a921bf43
4 changed files with 47 additions and 26 deletions

View File

@@ -0,0 +1,14 @@
import {each} from 'lodash';
import {
expectValidTranslationString
} from '../helpers/content.helper';
import mysterySets from '../../common/script/content/mystery-sets';
describe('Mystery Sets', () => {
it('has a valid text string', () => {
each(mysterySets, (set, key) => {
expectValidTranslationString(set.text);
});
});
});