Skip to content

Commit

Permalink
fix spec reporter + pending vow
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhead committed Jun 11, 2010
1 parent 4b92fa4 commit 3416f44
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/vows/reporters/spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ this.report = function (data, s) {
break;
case 'vow':
puts(' - ' + stylize(event.title, ({
honored: 'green', broken: 'yellow', errored: 'red'
honored: 'green',
broken: 'yellow',
errored: 'red',
pending: 'cyan'
})[event.status]));
if (event.status === 'broken') {
puts(' ~ ' + event.exception);
Expand Down

0 comments on commit 3416f44

Please sign in to comment.