X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fopml.t;h=642e7099cda8a3570f517461c6c66057cb083c15;hb=f44cd8ee33898e52be6ec2cb8c0ea06b5f59814a;hp=b5bb93c499c391c98e137ba4018736937aa1f22d;hpb=70a4116f8411ed074403a1a30bb6181115e5b7da;p=catagits%2FGitalist.git diff --git a/t/opml.t b/t/opml.t index b5bb93c..642e709 100644 --- a/t/opml.t +++ b/t/opml.t @@ -3,8 +3,10 @@ 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(GET 'http://localhost/opml', 'Content-Type' => 'application/rss'); -my $res = request('/opml'); ok $res->is_success; is $res->content_type, 'application/rss';