--- trunk/t/01-frey-action.t 2008/11/20 10:50:28 469 +++ trunk/t/01-frey-action.t 2008/12/10 17:51:29 793 @@ -4,7 +4,7 @@ my $debug = @ARGV ? 1 : 0; -use Test::More tests => 25; +use Test::More tests => 26; use lib 'lib'; use Data::Dump qw/dump/; @@ -28,6 +28,7 @@ ok( my $html = $o->params_form, 'params_form' ); diag $html if $debug; like( $html, qr/
params->{uri}, "don't pollute params" ); @@ -43,7 +44,7 @@ cmp_ok( $html, 'eq', $html2, 'html same' ); ok( $default->{uri}, 'uri has default' ); -ok( $o = Frey::Action->new( class => 'Frey::ClassBrowser', debug => $debug, params => { unneeded => 1 } ), "new Frey::ClassBrowser" ); +ok( $o = Frey::Action->new( class => 'Frey::Class::Browser', debug => $debug, params => { unneeded => 1 } ), "new Frey::Class::Browser" ); ok( ($html2,$default) = $o->params_form, 'params_form' ); ok( ! $html2, 'no form' ); ok( $default->{unneeded}, 'preserve params' );