projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
9da2414
)
tweak the test case
John Napiorkowski [Wed, 18 Dec 2013 14:55:15 +0000 (08:55 -0600)]
t/lib/TestMiddlewareFromConfig.pm
patch
|
blob
|
blame
|
history
t/lib/TestMiddlewareFromConfig/testmiddlewarefromconfig.pl
patch
|
blob
|
blame
|
history
diff --git
a/t/lib/TestMiddlewareFromConfig.pm
b/t/lib/TestMiddlewareFromConfig.pm
index
ca18208
..
4c0af79
100644
(file)
--- a/
t/lib/TestMiddlewareFromConfig.pm
+++ b/
t/lib/TestMiddlewareFromConfig.pm
@@
-5,5
+5,6
@@
use Catalyst qw/ConfigLoader/;
## Proof this is good config
##__PACKAGE__->config( do TestMiddlewareFromConfig->path_to('testmiddlewarefromconfig.pl') );
+__PACKAGE__->setup_middleware('Head');
__PACKAGE__->setup;
diff --git
a/t/lib/TestMiddlewareFromConfig/testmiddlewarefromconfig.pl
b/t/lib/TestMiddlewareFromConfig/testmiddlewarefromconfig.pl
index
4df352d
..
d470f04
100644
(file)
--- a/
t/lib/TestMiddlewareFromConfig/testmiddlewarefromconfig.pl
+++ b/
t/lib/TestMiddlewareFromConfig/testmiddlewarefromconfig.pl
@@
-6,7
+6,6
@@
my $static = Plack::Middleware::Static->new(
my $conf = +{
'Controller::Root', { namespace => '' },
'psgi_middleware', [
- 'Head',
$static,
'Static', { path => qr{^/static2/}, root => TestMiddlewareFromConfig->path_to('share') },
'Runtime',