X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fp5-Catalyst-Plugin-Sitemap;a=blobdiff_plain;f=t%2Fsitemap.t;fp=t%2Fsitemap.t;h=10f3efe86b0d61e8c53e2a57e0f4a1f1082b2626;hp=26f91ab6f3fd062244f00d00954786d8bb1ae800;hb=eb978d87a480b55befbc544e06ed593d8808964f;hpb=cc84fb8d76fc3e975d2d593c51d4488d530aec6b
diff --git a/t/sitemap.t b/t/sitemap.t
index 26f91ab..10f3efe 100644
--- a/t/sitemap.t
+++ b/t/sitemap.t
@@ -10,16 +10,18 @@ use Catalyst::Test 'TestApp';
my $xml = request('/sitemap')->content;
+diag $xml;
+
$xml =~ s/\s+//g;
-like $xml, qr{http://localhost/alone}, ':Sitemap';
-like $xml, qr{http://localhost/with_function},
+like $xml, qr{http://localhost/root/alone}, ':Sitemap';
+like $xml, qr{http://localhost/root/with_function},
':Sitemap(*)';
like $xml,
- qr{http://localhost/with_priority0.75},
+ qr{http://localhost/root/with_priority0.75},
':Sitemap(0.75)';
like $xml,
- qr{http://localhost/with_args2010-09-27daily},
+ qr{http://localhost/root/with_args2010-09-27daily},
':Sitemap(lotsa stuff)';