#!/usr/bin/perl
use strict;
use warnings;
+use FindBin qw/$Bin/;
+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 }