LinkEmbedder
view release on metacpan or search on metacpan
t/whereby.t view on Meta::CPAN
use Mojo::Base -strict;
use Test::More;
use LinkEmbedder;
plan skip_all => 'cpanm IO::Socket::SSL' unless LinkEmbedder::TLS;
plan skip_all => 'TEST_ONLINE=1' unless $ENV{TEST_ONLINE};
LinkEmbedder->new->test_ok(
'https://whereby.com/your-room-name' => {
cache_age => 0,
class => 'le-rich le-video-chat le-provider-whereby',
height => 390,
html => qr{src="https://whereby\.com/your-room-name\?embed"},
isa => 'LinkEmbedder::Link::Whereby',
provider_name => 'Whereby',
provider_url => 'https://whereby.com',
title => 'Join the room your-room-name',
type => 'rich',
url => 'https://whereby.com/your-room-name',
version => '1.0',
width => 740,
}
);
done_testing;
( run in 0.621 second using v1.01-cache-2.11-cpan-39bf76dae61 )