5 use Test::More tests => 4; # last test to print
8 use Catalyst::Test 'TestApp';
10 my $xml = get('/sitemap');
16 like $xml, qr{<url><loc>http://localhost/root/alone</loc></url>}, ':Sitemap';
17 like $xml, qr{<url><loc>http://localhost/root/with_function</loc></url>},
20 qr{<url><loc>http://localhost/root/with_priority</loc><priority>0.75</priority></url>},
24 qr{<url><loc>http://localhost/root/with_args</loc><lastmod>2010-09-27</lastmod><changefreq>daily</changefreq></url>},
25 ':Sitemap(lotsa stuff)';