13 |
use_ok('Frey::Class::Graph'); |
use_ok('Frey::Class::Graph'); |
14 |
} |
} |
15 |
|
|
16 |
ok( my $o = Frey::Class::Graph->new( request_url => '/', debug => $debug ), 'new' ); |
ok( my $o = Frey::Class::Graph->new( request_url => '/', debug => $debug, produce_dot => 1 ), 'new' ); |
17 |
ok( my $markup = $o->as_markup, 'as_markup' ); |
ok( my $markup = $o->as_markup, 'as_markup' ); |
18 |
diag $markup if $debug; |
diag $markup if $debug; |
19 |
like( $markup, qr/skeleton/, 'markup content' ); |
like( $markup, qr/graph/, 'dot graph' ); |
20 |
|
|