[Jifty-commit] r5201 - in jifty/trunk: t/TestApp-Plugin-Comments/t
Jifty commits
jifty-commit at lists.jifty.org
Sun Mar 9 22:04:35 EDT 2008
Author: sterling
Date: Sun Mar 9 22:04:33 2008
New Revision: 5201
Modified:
jifty/trunk/ (props changed)
jifty/trunk/t/TestApp-Plugin-Comments/t/00-model-BlogPost.t
Log:
r15581 at dynpc145: andrew | 2008-03-09 16:32:31 -0500
Don't run Comment plugin test if a prerequisite is missing.
Modified: jifty/trunk/t/TestApp-Plugin-Comments/t/00-model-BlogPost.t
==============================================================================
--- jifty/trunk/t/TestApp-Plugin-Comments/t/00-model-BlogPost.t (original)
+++ jifty/trunk/t/TestApp-Plugin-Comments/t/00-model-BlogPost.t Sun Mar 9 22:04:33 2008
@@ -11,7 +11,15 @@
use lib 't/lib';
use Jifty::SubTest;
-use Jifty::Test tests => 16;
+use Jifty::Test;
+
+eval "use HTML::Scrubber; use MIME::Base64::URLSafe; use Regexp::Common; 1";
+if ($@) {
+ plan skip_all => 'A requirement of the Comment plugin is not installed.';
+}
+else {
+ plan tests => 16;
+}
# Make sure we can load the model
use_ok('TestApp::Plugin::Comments::Model::BlogPost');
More information about the Jifty-commit
mailing list