Create branch register_actions.
[catagits/Catalyst-Runtime.git] / t / 03podcoverage.t
index d91be5e..61a207b 100644 (file)
@@ -1,7 +1,13 @@
 use Test::More;
 
+eval "use Pod::Coverage 0.19";
+plan skip_all => 'Pod::Coverage 0.19 required' if $@;
 eval "use Test::Pod::Coverage 1.04";
 plan skip_all => 'Test::Pod::Coverage 1.04 required' if $@;
-plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
+plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD} || -e 'inc/.author';
 
-all_pod_coverage_ok();
+all_pod_coverage_ok(
+  { 
+    also_private => ['BUILD']
+  }
+);