/[Frey]/trunk/t/02-Frey-Web.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/t/02-Frey-Web.t

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 156 by dpavlin, Thu Jul 17 17:55:39 2008 UTC revision 418 by dpavlin, Tue Nov 18 16:54:10 2008 UTC
# Line 2  Line 2 
2  use strict;  use strict;
3  use warnings;  use warnings;
4    
5  use Test::More tests => 18;  use Test::More tests => 19;
6  use lib 'lib';  use lib 'lib';
7    
8  use Data::Dump qw/dump/;  use Data::Dump qw/dump/;
# Line 25  BEGIN { Line 25  BEGIN {
25  isa_ok( Frey::Web->meta, 'Moose::Meta::Role' );  isa_ok( Frey::Web->meta, 'Moose::Meta::Role' );
26    
27    
28  ok( my $o = Mock->new( debug => $debug ), 'new' );  ok( my $o = Mock->new( debug => $debug, inline_smaller_than => 1 ), 'new' );
29  diag $o->dump(2) if $debug;  diag $o->dump(2) if $debug;
30    
31  ok( $o->add_head( '/static/lib/Joose.js' ), 'add_head js' );  ok( $o->add_head( '/static/lib/Joose.js' ), 'add_head js' );
# Line 49  diag $s if $debug; Line 49  diag $s if $debug;
49  ok( $s = $o->add_head( 'static/js/ext-2.1/ext-all.js' ), 'add_head js' );  ok( $s = $o->add_head( 'static/js/ext-2.1/ext-all.js' ), 'add_head js' );
50  diag $s if $debug;  diag $s if $debug;
51    
52    ok( $o->title, 'has title' );
53    
54  ok( my $html2 = $o->page( title => 'Test2', body => '<!-- in-body 2 -->' ), 'page' );  ok( my $html2 = $o->page( title => 'Test2', body => '<!-- in-body 2 -->' ), 'page' );
55  diag $html2 if $debug;  diag $html2 if $debug;
56    

Legend:
Removed from v.156  
changed lines
  Added in v.418

  ViewVC Help
Powered by ViewVC 1.1.26