Correct tests

This commit is contained in:
Blade Barringer
2015-10-01 21:56:14 -05:00
parent be3decf859
commit b4ce683190
2 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ const TEST_DB = 'habitrpg_test'
const TEST_DB_URI = `mongodb://localhost/${TEST_DB}`
const API_TEST_COMMAND = 'mocha test/api --opts test/mocha.opts';
const API_TEST_COMMAND = 'mocha test/api';
const COMMON_TEST_COMMAND = 'mocha test/common';
const CONTENT_TEST_COMMAND = 'mocha test/content --opts test/content/mocha.content.opts';
const KARMA_TEST_COMMAND = 'karma start';

View File

@@ -1,8 +1,8 @@
import hatchingPotions from '../../common/script/src/content/hatching-potions';
import { all as potions } from '../../common/script/src/content/hatching-potions';
import {each} from 'lodash';
describe('Hatching Potion Locales', () => {
each(hatchingPotions, (potion, key) => {
each(potions, (potion, key) => {
describe(`${key} Potion`, () => {
it('has a valid text attribute', () => {
expectValidTranslationString(potion.text);