3 BEGIN { do "$FindBin::Bin/../script/env" or die $@ }
6 use HTTP::Request::Common;
8 my $res = request(GET 'http://localhost/repo1/rss', 'Content-Type' => 'application/rss+xml');
10 is $res->content_type, 'application/rss+xml';
11 like $res->content, qr{link>http://localhost/repo1</link};
12 like $res->content, qr{description>some test repository</description};
13 like $res->content, qr{title>add dir1/file2</title};
14 like $res->content, qr{description>add dir1/file2</description};
15 like $res->content, qr{guid isPermaLink="true">http://localhost/repo1/36c6c6708b8360d7023e8a1649c45bcf9b3bd818/commit</guid};