]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/commitdiff
fixed moosified-rs.t failures by making the test skip if not all dependencies are met
authorAlexander Hartmaier <abraxxa@cpan.org>
Thu, 24 Feb 2011 17:21:20 +0000 (18:21 +0100)
committerAlexander Hartmaier <abraxxa@cpan.org>
Thu, 24 Feb 2011 17:21:20 +0000 (18:21 +0100)
Changes
t/moosified-rs.t

diff --git a/Changes b/Changes
index b6afc0c4ad416ffda3720dc8a671399872da1750..3e0148c7c2f350b5857f29f10a8c1049091c1f6a 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,6 +1,9 @@
 Revision history for DBIx::Class::ResultSet::RecursiveUpdate
 
 {{ $NEXT }}
+    - Fixed moosified-rs.t failures by making the test skip if not all
+      dependencies are met. Requiring Moose for a compatability test would
+      have been overkill. (thanks CPANTesters & RT#65959)
 
 0.22      2011-02-09 19:06:34 Europe/Vienna
     - Fixed updating of nullable has_many rels (RT#65561)
index f11401047e8841bf6824bfe8274f01deb9fcf246..cf3d942f1add7e73e7fb8a145cfb2c016d792726 100644 (file)
@@ -2,6 +2,17 @@ use strict;
 use warnings;
 use Test::More;
 
+BEGIN {
+    eval {
+        require Moose;
+        require MooseX::NonMoose;
+        require namespace::autoclean;
+    };
+    plan skip_all =>
+        "Moose, MooseX::NonMoose and namespace::autoclean required"
+        if $@;
+}
+
 use lib 't/lib';
 use DBSchemaMoose;
 use RunTests;
This page took 0.022357 seconds and 4 git commands to generate.