10 |
use Data::Dump qw/dump/; |
use Data::Dump qw/dump/; |
11 |
|
|
12 |
BEGIN { |
BEGIN { |
13 |
use_ok('Frey::Web::Flowplayer'); |
use_ok('Frey::Web::FLVPlayer'); |
14 |
} |
} |
15 |
|
|
16 |
ok( my $o = Frey::Web::Flowplayer->new( request_url => '/', debug => $debug ), 'new' ); |
ok( my $o = Frey::Web::FLVPlayer->new( request_url => '/', debug => $debug ), '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/flowplayer/, 'markup content' ); |
like( $markup, qr/flowplayer/, 'markup content' ); |