use Mojo::Base -strict;
plan skip_all => 'TEST_ONLINE=1' unless $ENV{TEST_ONLINE};
plan skip_all => 'cpanm IO::Socket::SSL' unless LinkEmbedder::TLS;
LinkEmbedder->new->test_ok(
html => qr{le-paste le-rich le-provider-github.*Mojo::Server::Morbo::Backend::Inotify}s,
isa => 'LinkEmbedder::Link::Github',
type => 'rich',
}
);
LinkEmbedder->new->test_ok(
html => qr{le-paste le-rich le-provider-github.*this\.removeEventListener}s,
isa => 'LinkEmbedder::Link::Github',
type => 'rich',
}
);
LinkEmbedder->new->test_ok(
html => qr{le-paste le-rich le-provider-github.*this\.removeEventListener}s,
isa => 'LinkEmbedder::Link::Github',
type => 'rich',
}
);
LinkEmbedder->new->test_ok(
html => qr{le-paste le-rich le-provider-github.*this\.removeEventListener}s,
isa => 'LinkEmbedder::Link::Github',
type => 'rich',
}
);
done_testing;