add type with coersion for WebGUI::Config

This commit is contained in:
Graham Knop 2010-06-17 05:54:36 -05:00
parent 19c2c5fa1c
commit 8bfa022441
4 changed files with 16 additions and 12 deletions

View file

@ -10,7 +10,7 @@ use HTTP::Request::Common;
use Test::More tests => 9;
use HTTP::Exception;
my $wg = WebGUI->new(site => WebGUI::Test->file);
my $wg = WebGUI->new(config => WebGUI::Test->config);
my $regular_app = builder {
enable '+WebGUI::Middleware::Session', config => $wg->config;