Skip to content

Commit 00d40c9

Browse files
committed
tidy up spec name
1 parent 443bd0c commit 00d40c9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/reporters/nyan.spec.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ describe('Nyon reporter', function () {
331331
afterEach(function () {
332332
Base.useColors = useColors;
333333
});
334-
it('should return rainbowify string from preset color codes', function () {
334+
it('should return rainbowified string from the given string and predefined codes', function () {
335335
var startCode = '\u001b[38;5;';
336336
var endCode = '\u001b[0m';
337337
var nyanCat = new NyanCat({on: function () {}});
@@ -410,7 +410,7 @@ describe('Nyon reporter', function () {
410410
});
411411

412412
describe('drawScoreboard', function () {
413-
it('should write scoreboard with color set next to each stat', function () {
413+
it('should write scoreboard with color set with each stat', function () {
414414
var cachedColor = Base.color;
415415
Base.color = function (type, n) {
416416
return type + n;
@@ -446,7 +446,7 @@ describe('Nyon reporter', function () {
446446
process.stdout.write = stdoutWrite;
447447
Base.color = cachedColor;
448448
});
449-
it('should call cursorUp with numberOfLines', function () {
449+
it('should call cursorUp with given numberOfLines', function () {
450450
var stdout = [];
451451
var stdoutWrite = process.stdout.write;
452452
process.stdout.write = function (string) {
@@ -498,7 +498,7 @@ describe('Nyon reporter', function () {
498498
stdout.should.deepEqual(expectedArray);
499499
});
500500

501-
it('should call cursorUp with numberOfLines', function () {
501+
it('should call cursorUp with given numberOfLines', function () {
502502
var stdout = [];
503503
var stdoutWrite = process.stdout.write;
504504
process.stdout.write = function (string) {

0 commit comments

Comments
 (0)