--- trunk/t/02-frey-web.t 2008/07/17 17:55:39 156 +++ trunk/t/02-frey-web.t 2008/11/18 16:54:10 418 @@ -2,7 +2,7 @@ use strict; use warnings; -use Test::More tests => 18; +use Test::More tests => 19; use lib 'lib'; use Data::Dump qw/dump/; @@ -25,7 +25,7 @@ isa_ok( Frey::Web->meta, 'Moose::Meta::Role' ); -ok( my $o = Mock->new( debug => $debug ), 'new' ); +ok( my $o = Mock->new( debug => $debug, inline_smaller_than => 1 ), 'new' ); diag $o->dump(2) if $debug; ok( $o->add_head( '/static/lib/Joose.js' ), 'add_head js' ); @@ -49,6 +49,8 @@ ok( $s = $o->add_head( 'static/js/ext-2.1/ext-all.js' ), 'add_head js' ); diag $s if $debug; +ok( $o->title, 'has title' ); + ok( my $html2 = $o->page( title => 'Test2', body => '' ), 'page' ); diag $html2 if $debug;