[Catalyst-commits] r9248 - trunk/Catalyst-Plugin-Cache/t

t0m at dev.catalyst.perl.org t0m at dev.catalyst.perl.org
Sun Feb 8 07:47:37 GMT 2009


Author: t0m
Date: 2009-02-08 07:47:36 +0000 (Sun, 08 Feb 2009)
New Revision: 9248

Modified:
   trunk/Catalyst-Plugin-Cache/t/basic.t
   trunk/Catalyst-Plugin-Cache/t/currying_conf.t
   trunk/Catalyst-Plugin-Cache/t/key_regexes.t
Log:
Change config key in tests

Modified: trunk/Catalyst-Plugin-Cache/t/basic.t
===================================================================
--- trunk/Catalyst-Plugin-Cache/t/basic.t	2009-02-08 07:39:42 UTC (rev 9247)
+++ trunk/Catalyst-Plugin-Cache/t/basic.t	2009-02-08 07:47:36 UTC (rev 9248)
@@ -20,7 +20,7 @@
     ### the previous code simply ignored a croak
     ### this is still in line with the documentation.
     my %config = (
-        cache   => { 
+        'Plugin::Cache' => { 
             backend => { 
                 class   => 'Catalyst::Plugin::Cache::Backend::Memory',
             }

Modified: trunk/Catalyst-Plugin-Cache/t/currying_conf.t
===================================================================
--- trunk/Catalyst-Plugin-Cache/t/currying_conf.t	2009-02-08 07:39:42 UTC (rev 9247)
+++ trunk/Catalyst-Plugin-Cache/t/currying_conf.t	2009-02-08 07:47:36 UTC (rev 9248)
@@ -15,7 +15,7 @@
     use base qw/Catalyst::Plugin::Cache/;
 
     my %config = (
-        cache => {
+        'Plugin::Cache' => {
             profiles => {
                 foo => {
                     bah => "foo",

Modified: trunk/Catalyst-Plugin-Cache/t/key_regexes.t
===================================================================
--- trunk/Catalyst-Plugin-Cache/t/key_regexes.t	2009-02-08 07:39:42 UTC (rev 9247)
+++ trunk/Catalyst-Plugin-Cache/t/key_regexes.t	2009-02-08 07:47:36 UTC (rev 9248)
@@ -15,7 +15,7 @@
     use base qw/Catalyst::Plugin::Cache Catalyst::Plugin::Cache::Choose::KeyRegexes/;
 
     our %config = (
-        cache => {
+        'Plugin::Cache' => {
             key_regexes => [
                 qr/^foo/ => "foo_store",
                 qr/^bar/ => "bar_store",




More information about the Catalyst-commits mailing list