From: John Napiorkowski Date: Wed, 23 Jul 2008 22:30:34 +0000 (+0000) Subject: podcoverage test now requires minimum 0.19 version for Pod::Coverage and changed... X-Git-Tag: v0.08240~395 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f09cd1d4d156c70c8953e781d4551dfa316cb488;p=dbsrgits%2FDBIx-Class.git podcoverage test now requires minimum 0.19 version for Pod::Coverage and changed another bad title in replication --- diff --git a/lib/DBIx/Class/Storage/DBI/Replicated/Balancer/Random.pm b/lib/DBIx/Class/Storage/DBI/Replicated/Balancer/Random.pm index 8bbaa49..6f786d3 100644 --- a/lib/DBIx/Class/Storage/DBI/Replicated/Balancer/Random.pm +++ b/lib/DBIx/Class/Storage/DBI/Replicated/Balancer/Random.pm @@ -5,7 +5,7 @@ with 'DBIx::Class::Storage::DBI::Replicated::Balancer'; =head1 NAME -DBIx::Class::Storage::DBI::Replicated::Balancer::Random; A 'random' Balancer +DBIx::Class::Storage::DBI::Replicated::Balancer::Random - A 'random' Balancer =head1 SYNOPSIS diff --git a/t/03podcoverage.t b/t/03podcoverage.t index 5fae09f..e3059a1 100644 --- a/t/03podcoverage.t +++ b/t/03podcoverage.t @@ -1,7 +1,10 @@ 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} || -e 'MANIFEST.SKIP');