projects
/
catagits/Catalyst-Plugin-Cache.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
0ba5145
)
Change config key in tests
Tomas Doran [Sun, 8 Feb 2009 07:47:36 +0000 (07:47 +0000)]
t/basic.t
patch
|
blob
|
blame
|
history
t/currying_conf.t
patch
|
blob
|
blame
|
history
t/key_regexes.t
patch
|
blob
|
blame
|
history
diff --git
a/t/basic.t
b/t/basic.t
index
5a873a9
..
a356a94
100644
(file)
--- a/
t/basic.t
+++ b/
t/basic.t
@@
-20,7
+20,7
@@
use Catalyst::Plugin::Cache::Backend::Memory;
### 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',
}
diff --git
a/t/currying_conf.t
b/t/currying_conf.t
index
166b6d7
..
b9f50fa
100644
(file)
--- a/
t/currying_conf.t
+++ b/
t/currying_conf.t
@@
-15,7
+15,7
@@
use ok "Catalyst::Plugin::Cache";
use base qw/Catalyst::Plugin::Cache/;
my %config = (
- cache => {
+ 'Plugin::Cache' => {
profiles => {
foo => {
bah => "foo",
diff --git
a/t/key_regexes.t
b/t/key_regexes.t
index
1084f5b
..
4c19c33
100644
(file)
--- a/
t/key_regexes.t
+++ b/
t/key_regexes.t
@@
-15,7
+15,7
@@
use Catalyst::Plugin::Cache::Backend::Memory;
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",