Fix autor deps for Test::NoTabs
Tomas Doran [Tue, 13 Dec 2011 16:02:47 +0000 (16:02 +0000)]
Makefile.PL
t/author/pod.t
t/author/pod_coverage.t

index 9608ffc..45f8f55 100644 (file)
@@ -7,7 +7,6 @@ use Module::Install::AuthorTests;
 if ( $Module::Install::AUTHOR ) {
     system( 'pod2text lib/Catalyst/Plugin/Authentication.pm > README' )
         and die;
-    require Module::Install::AuthorTests;
 }
 
 perl_version '5.008001';
@@ -25,6 +24,9 @@ test_requires 'Test::Exception';
 test_requires 'Class::MOP';
 test_requires 'Moose';
 
+author_requires 'Test::Pod' => '1.14';
+author_requires 'Test::Pod::Coverage' => '1.04';
+author_requires 'Test::NoTabs';
 author_requires 'Test::WWW::Mechanize::Catalyst';
 author_requires 'Catalyst::Plugin::Session';
 author_requires 'Catalyst::Plugin::Session::State::Cookie';
index 1647794..8b24c40 100644 (file)
@@ -1,7 +1,5 @@
 use Test::More;
 
-eval "use Test::Pod 1.14";
-plan skip_all => 'Test::Pod 1.14 required' if $@;
-plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
+use Test::Pod 1.14;
 
 all_pod_files_ok();
index d91be5e..66338a3 100644 (file)
@@ -1,7 +1,5 @@
 use Test::More;
 
-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};
+use Test::Pod::Coverage 1.04;
 
 all_pod_coverage_ok();