Permalink
Browse files

Runner returns error exit status when there are failures

  • Loading branch information...
1 parent 90c97a7 commit a9a7bfecea2b914ad59dfdb2973adbafa683c812 @carhartl committed May 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.rdoc
View
@@ -31,7 +31,7 @@ Jasmine runner:
var message = [desc.title, desc.nextSibling.querySelector('.resultMessage.fail').innerText];
console.log(message.join(' => '));
}
- phantom.exit();
+ phantom.exit(failed.length);
}
}, 100);
}

0 comments on commit a9a7bfe

Please sign in to comment.