Checking in changes prior to tagging of version 0.24. Changelog diff is:
[catagits/Catalyst-Plugin-Session.git] / t / 05_semi_persistent_flash.t
index d9d685a..249be7f 100644 (file)
@@ -8,9 +8,12 @@ BEGIN {
         or plan skip_all =>
             "Catalyst::Plugin::Session::State::Cookie version 0.03 or higher is required for this test";
 
-    eval { require Test::WWW::Mechanize::Catalyst }
-      or plan skip_all =>
-      'Test::WWW::Mechanize::Catalyst is required for this test';
+    eval {
+        require Test::WWW::Mechanize::Catalyst;
+        Test::WWW::Mechanize::Catalyst->VERSION(0.51);
+    }
+    or plan skip_all =>
+        'Test::WWW::Mechanize::Catalyst >= 0.51 is required for this test';
 
     plan tests => '10';