Skip to content

Commit

Permalink
tidy up spec name
Browse files Browse the repository at this point in the history
  • Loading branch information
craigtaub committed Jan 31, 2017
1 parent 443bd0c commit 00d40c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/reporters/nyan.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ describe('Nyon reporter', function () {
afterEach(function () {
Base.useColors = useColors;
});
it('should return rainbowify string from preset color codes', function () {
it('should return rainbowified string from the given string and predefined codes', function () {
var startCode = '\u001b[38;5;';
var endCode = '\u001b[0m';
var nyanCat = new NyanCat({on: function () {}});
Expand Down Expand Up @@ -410,7 +410,7 @@ describe('Nyon reporter', function () {
});

describe('drawScoreboard', function () {
it('should write scoreboard with color set next to each stat', function () {
it('should write scoreboard with color set with each stat', function () {
var cachedColor = Base.color;
Base.color = function (type, n) {
return type + n;
Expand Down Expand Up @@ -446,7 +446,7 @@ describe('Nyon reporter', function () {
process.stdout.write = stdoutWrite;
Base.color = cachedColor;
});
it('should call cursorUp with numberOfLines', function () {
it('should call cursorUp with given numberOfLines', function () {
var stdout = [];
var stdoutWrite = process.stdout.write;
process.stdout.write = function (string) {
Expand Down Expand Up @@ -498,7 +498,7 @@ describe('Nyon reporter', function () {
stdout.should.deepEqual(expectedArray);
});

it('should call cursorUp with numberOfLines', function () {
it('should call cursorUp with given numberOfLines', function () {
var stdout = [];
var stdoutWrite = process.stdout.write;
process.stdout.write = function (string) {
Expand Down

0 comments on commit 00d40c9

Please sign in to comment.