diff options
author | Fayland Lam <fayland@gmail.com> | 2011-11-26 11:31:19 +0800 |
---|---|---|
committer | Fayland Lam <fayland@gmail.com> | 2011-11-26 11:31:19 +0800 |
commit | 3f00c11bcb5fd1e9ca1cd0a1305ac4baa7eb9d6f (patch) | |
tree | e5ce45dd71955159c0553c020914338eac9ef490 | |
parent | fix for app.psgi load dancer app (diff) | |
download | dancer-template-xslate-3f00c11bcb5fd1e9ca1cd0a1305ac4baa7eb9d6f.tar.gz |
fix tests
-rw-r--r-- | lib/Dancer/Template/Xslate.pm | 1 | ||||
-rw-r--r-- | t/02-app.t | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/Dancer/Template/Xslate.pm b/lib/Dancer/Template/Xslate.pm index 94d0fec..bbcd3ab 100644 --- a/lib/Dancer/Template/Xslate.pm +++ b/lib/Dancer/Template/Xslate.pm @@ -6,6 +6,7 @@ use strict; use warnings; use Text::Xslate; +use Dancer::App; use base 'Dancer::Template::Abstract'; diff --git a/t/02-app.t b/t/02-app.t index 73e738c..40d0d27 100644 --- a/t/02-app.t +++ b/t/02-app.t @@ -7,8 +7,8 @@ use Dancer::Test; plan tests => 3; -setting template => 'xslate'; setting views => 't'; +setting template => 'xslate'; ok( get '/' => sub { |