From 3f00c11bcb5fd1e9ca1cd0a1305ac4baa7eb9d6f Mon Sep 17 00:00:00 2001 From: Fayland Lam Date: Sat, 26 Nov 2011 11:31:19 +0800 Subject: fix tests --- lib/Dancer/Template/Xslate.pm | 1 + t/02-app.t | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 { -- cgit 1.4.1