Skip to content

Instantly share code, notes, and snippets.

@sukria
Created December 4, 2011 16:25
Show Gist options
  • Save sukria/1430595 to your computer and use it in GitHub Desktop.
Save sukria/1430595 to your computer and use it in GitHub Desktop.
use strict;
use warnings;
use Test::More import => ['!pass'];
{
use Dancer;
use Dancer::Plugin::SiteMap;
get '/foo' => sub { 11 };
}
use Dancer::Test;
my $r = dancer_response GET => '/sitemap';
is $r->[2][0], "";
done_testing;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment