Permalink
Browse files

added better messages to failing tests

  • Loading branch information...
1 parent 9a12910 commit ca875ea32aea86d8ea51f9d657887ea3c15db462 Matt Curry committed Mar 4, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/cases/helpers/asset.test.php
@@ -62,11 +62,11 @@ function testInstances() {
function testVendors() {
if(PHP5) {
App::import('Vendor', 'jsmin/jsmin');
- $this->assertTrue(class_exists('JSMin'));
+ $this->assertTrue(class_exists('JSMin'), 'JSMin not installed in vendors');
}
App::import('Vendor', 'csstidy', array('file' => 'class.csstidy.php'));
- $this->assertTrue(class_exists('csstidy'));
+ $this->assertTrue(class_exists('csstidy'), 'csstidy not installed in vendors');
}
function testAfterRender() {

0 comments on commit ca875ea

Please sign in to comment.