summary refs log tree commit diff
diff options
context:
space:
mode:
authorFayland Lam <fayland@gmail.com>2011-11-26 11:31:19 +0800
committerFayland Lam <fayland@gmail.com>2011-11-26 11:31:19 +0800
commit3f00c11bcb5fd1e9ca1cd0a1305ac4baa7eb9d6f (patch)
treee5ce45dd71955159c0553c020914338eac9ef490
parentfix for app.psgi load dancer app (diff)
downloaddancer-template-xslate-3f00c11bcb5fd1e9ca1cd0a1305ac4baa7eb9d6f.tar.gz
fix tests
-rw-r--r--lib/Dancer/Template/Xslate.pm1
-rw-r--r--t/02-app.t2
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 {