use strict; use warnings; use Test::More tests => 3; use lib 't/apps/Foo/lib'; use Foo; use Dancer::Test appdir => 't/apps/Foo/'; response_content_is '/' => "\n

hi there

", "template recognized"; response_content_is '/layout' => "\n\n

hi there

\n", "with layout"; response_content_is '/bad_layout' => '', "with bad layout";