Skip to content
This repository was archived by the owner on Jan 18, 2019. It is now read-only.

Commit be313f4

Browse files
Tema 2.start-here. Reword test description
Since the word test can have a very specific meaning, it may be better to reword this test description. Also, the presence of two "can" may read a bit repetitive.
1 parent a4c041f commit be313f4

File tree

1 file changed

+1
-1
lines changed
  • es/02-javascript/02-practica/start-here/spec

1 file changed

+1
-1
lines changed

es/02-javascript/02-practica/start-here/spec/entities.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ describe('Entities library', function () {
255255
expect(health.effect).toEqual(jasmine.any(Effect));
256256
});
257257

258-
xit('can test if a character can pay its cost.', function () {
258+
xit('knows if a character can pay its cost.', function () {
259259
var health = new Scroll('health', 5, new Effect({ hp: 5 }));
260260
expect(health.canBeUsed(10)).toBe(true);
261261
expect(health.canBeUsed(4)).toBe(false);

0 commit comments

Comments
 (0)