X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-View-Component-SubInclude.git;a=blobdiff_plain;f=t%2Fauthor%2Fhttp.t;fp=t%2Fauthor%2Fhttp.t;h=4fd8c6555d6cc64807c490d81741bcff4e2521de;hp=0000000000000000000000000000000000000000;hb=8651b78cf910b9b807322fa1f00ae727fedbdf80;hpb=0a489ddc1ded386e501922906da675a2f45d262a diff --git a/t/author/http.t b/t/author/http.t new file mode 100644 index 0000000..4fd8c65 --- /dev/null +++ b/t/author/http.t @@ -0,0 +1,16 @@ +use strict; +use warnings; +use FindBin qw/$Bin/; +use lib "$Bin/../lib"; +use Test::More; +use Catalyst::Test 'ESITest'; + +my $res_content = get('/http_cpan'); +like $res_content, qr{CPAN Directory}; +like $res_content, qr{WREIS}; + +$res_content = get('/http_github'); +like $res_content, qr{GitHub}; +like $res_content, qr{Wallace Reis}; + +done_testing;