X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Frss.t;h=ee72240922fbd5ef3cdd8abd5cca6fccbd1f93cd;hb=4dacb4b2dd8b8054fea25101eec329fe5f4a9de2;hp=c9c38042960f2a175c32cf2dac759356f7674049;hpb=179b688801d87f11641ea537f8f5be47987f3635;p=catagits%2FGitalist.git diff --git a/t/rss.t b/t/rss.t index c9c3804..ee72240 100644 --- a/t/rss.t +++ b/t/rss.t @@ -3,8 +3,9 @@ use FindBin qw/$Bin/; BEGIN { do "$FindBin::Bin/../script/env" or die $@ } use lib "$Bin/lib"; use TestGitalist; +use HTTP::Request::Common; -my $res = request('/repo1/rss'); +my $res = request(GET 'http://localhost/repo1/rss', 'Content-Type' => 'application/rss+xml'); ok $res->is_success; is $res->content_type, 'application/rss+xml'; like $res->content, qr{link>http://localhost/repo1