fix the pod-coverage version required (by rjbs)
Tomas Doran [Wed, 14 Apr 2010 20:20:12 +0000 (21:20 +0100)]
Without this fix, the generated-app tests will run, will set
TEST_POD, and may try to run the tests. The tests fail with 0.17 of
Pod::Coverage, so this requires a newer one or testing will be skipped.

Original patch didn't want to apply with git am :(

Changes
share/t/03podcoverage.t.tt

diff --git a/Changes b/Changes
index b28e4e3..6f805fd 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,7 @@
 This file documents the revision history for Perl extension Catalyst-Devel.
 
+        - Fix the pod-coverage version required by the generated app tests.
+
 1.27  2010-02-23 10:44:20
         - Add the catalyst_par_options option.
         - Change the version of Catalyst required to 5.80015 as retarded
index 38147ef..7aca658 100644 (file)
@@ -5,6 +5,10 @@ use Test::More;
 
 eval "use Test::Pod::Coverage 1.04";
 plan skip_all => 'Test::Pod::Coverage 1.04 required' if $@;
+
+eval "use Pod::Coverage 0.20";
+plan skip_all => 'Pod::Coverage 0.20 required' if $@;
+
 plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
 
 all_pod_coverage_ok();