|
plan skip_all => 'TEST_ONLINE=1' unless $ENV {TEST_ONLINE};
plan skip_all => 'cpanm IO::Socket::SSL' unless LinkEmbedder::TLS;
LinkEmbedder->new->test_ok(
isa => 'LinkEmbedder::Link::Ix' ,
cache_age => 0,
html => paste_html(),
provider_name => 'Ix' ,
type => 'rich' ,
version => '1.0' ,
}
);
done_testing;
sub paste_html {
return <<"HERE";
<div class="le-paste le-provider-ix le-rich">
<div class="le-meta">
<span class="le-provider-link"><a href="http://ix.io">Ix</a></span> </div>
<pre>Hello world.</pre>
</div>
HERE
}
|