+ - Skip WWW::Mech tests unless WWW::Mech is a new enough version (RT#55303).
+
1.012 2010-03-07
- Move actions out of the test applications to stop warnings.
requires 'URI::Escape';
requires 'Class::Accessor::Fast';
+author_requires 'Test::WWW::Mechanize::Catalyst' => '0.51';
author_requires 'Test::Pod' => '1.14';
author_requires 'Test::Spelling' => '0.11';
author_requires 'Test::Pod::Coverage' => '1.04';
use Test::More;
BEGIN {
- eval { require Test::WWW::Mechanize::Catalyst }
+ do {
+ eval { require Test::WWW::Mechanize::Catalyst }
+ and
+ Test::WWW::Mechanize::Catalyst->VERSION('0.51')
+ }
or plan skip_all =>
"Test::WWW::Mechanize::Catalyst is needed for this test";
plan tests => 4;
use lib "$Bin/lib";
use Test::More;
BEGIN {
- eval { require Test::WWW::Mechanize::Catalyst }
+ do {
+ eval { require Test::WWW::Mechanize::Catalyst }
+ and
+ Test::WWW::Mechanize::Catalyst->VERSION('0.51')
+ }
or plan skip_all =>
"Test::WWW::Mechanize::Catalyst is needed for this test";
eval { require Catalyst::Plugin::Cache }