Do the correct thing with type contraints etc to be able to serialize things
[catagits/Gitalist.git] / t / rss.t
diff --git a/t/rss.t b/t/rss.t
index ec87a51..2d6a143 100644 (file)
--- a/t/rss.t
+++ b/t/rss.t
@@ -5,11 +5,11 @@ use TestGitalist;
 
 my $res = request('/repo1/rss');
 ok $res->is_success;
-
+is $res->content_type, 'application/rss+xml';
 like $res->content, qr{link>http://localhost/repo1</link};
 like $res->content, qr{description>some test repository</description};
 like $res->content, qr{title>add dir1/file2</title};
 like $res->content, qr{description>add dir1/file2</description};
-like $res->content, qr{guid isPermaLink="true">http://localhost/repo1/36c6c6708b8360d7023e8a1649c45bcf9b3bd818</guid};
+like $res->content, qr{guid isPermaLink="true">http://localhost/repo1/36c6c6708b8360d7023e8a1649c45bcf9b3bd818/commit</guid};
 
 done_testing;