diff --git a/es/02-javascript/02-practica/start-here/.eslintrc.json b/es/02-javascript/02-practica/start-here/.eslintrc.json index 17ed149..78ba4fe 100644 --- a/es/02-javascript/02-practica/start-here/.eslintrc.json +++ b/es/02-javascript/02-practica/start-here/.eslintrc.json @@ -1,6 +1,7 @@ { "env": { - "node": true + "node": true, + "jasmine": true }, "extends": "eslint:recommended", "rules": { diff --git a/es/02-javascript/02-practica/start-here/spec/CharacterView.js b/es/02-javascript/02-practica/start-here/spec/CharacterView.js index 34b140a..3bd9571 100644 --- a/es/02-javascript/02-practica/start-here/spec/CharacterView.js +++ b/es/02-javascript/02-practica/start-here/spec/CharacterView.js @@ -1,6 +1,6 @@ var samples = require('./samplelib'); -xdescribe('CharactesView type', function () { +xdescribe('CharactersView type', function () { 'use strict'; var CharactersView = require('../src/CharactersView'); diff --git a/es/02-javascript/02-practica/start-here/spec/OptionsStack.js b/es/02-javascript/02-practica/start-here/spec/OptionsStack.js index 3b17b08..d3df065 100644 --- a/es/02-javascript/02-practica/start-here/spec/OptionsStack.js +++ b/es/02-javascript/02-practica/start-here/spec/OptionsStack.js @@ -39,7 +39,7 @@ xdescribe('OptionsStack type', function () { expect(optionsStack.current).toBe(group); }); - it('adds an options group by assigning a object to current.', function () { + it('adds an options group by assigning an object to current.', function () { var group = { a: 1, b: 2}; optionsStack.current = group; expect(MockOptions).toHaveBeenCalledWith(group); diff --git a/es/02-javascript/02-practica/start-here/spec/TurnList.js b/es/02-javascript/02-practica/start-here/spec/TurnList.js index d02d2fe..fcbfe97 100644 --- a/es/02-javascript/02-practica/start-here/spec/TurnList.js +++ b/es/02-javascript/02-practica/start-here/spec/TurnList.js @@ -25,13 +25,13 @@ xdescribe('The TurnList type', function () { turnList.reset(characters); }); - it('accepts a set of characters and sort them by inititative.', function () { + it('accepts a set of characters and sorts them by inititative.', function () { expect(turnList.turnNumber).toBe(0); expect(turnList.activeCharacterId).toBe(null); expect(turnList.list).toEqual(['c', 'b', 'a']); }); - it('accepts a set of characters and sort them by inititative.', function () { + it('can play the next turn.', function () { var turn = turnList.next(); expect(turn.number).toBe(1); diff --git a/es/02-javascript/02-practica/start-here/spec/entities.js b/es/02-javascript/02-practica/start-here/spec/entities.js index fff81e5..94973fe 100644 --- a/es/02-javascript/02-practica/start-here/spec/entities.js +++ b/es/02-javascript/02-practica/start-here/spec/entities.js @@ -46,7 +46,7 @@ describe('Entities library', function () { xdescribe('Effect type', function () { - it('allows specify arbitrary feature alterations.', function () { + it('allows to specify arbitrary feature alterations.', function () { var effect = new Effect({ hp: 5, mp: -5 @@ -160,7 +160,7 @@ describe('Entities library', function () { }); }); - it('does not applie an effect if the effect comes from a foe but ' + + it('does not apply an effect if the effect comes from a foe but ' + 'defense roll passed.', function () { var isAlly = false; @@ -255,7 +255,7 @@ describe('Entities library', function () { expect(health.effect).toEqual(jasmine.any(Effect)); }); - xit('can test if a character can pay its cost.', function () { + xit('knows if a character can pay its cost.', function () { var health = new Scroll('health', 5, new Effect({ hp: 5 })); expect(health.canBeUsed(10)).toBe(true); expect(health.canBeUsed(4)).toBe(false);