summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-10-03 18:28:38 -0500
committerJesse Luehrs <doy@tozt.net>2012-10-03 18:28:38 -0500
commita7a8576d3716a03b7216252d0b25625e9edc67a7 (patch)
tree7f2b03825a1043712a4cd0daa6ac7af46a4c9002 /t
parent5811e2f6469ab7303a2ef014f691df659f549cea (diff)
downloadtext-handlebars-a7a8576d3716a03b7216252d0b25625e9edc67a7.tar.gz
text-handlebars-a7a8576d3716a03b7216252d0b25625e9edc67a7.zip
don't cache rendered files in tests
Diffstat (limited to 't')
-rw-r--r--t/lib/Test/Handlebars.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/lib/Test/Handlebars.pm b/t/lib/Test/Handlebars.pm
index 25b22d9..ececc41 100644
--- a/t/lib/Test/Handlebars.pm
+++ b/t/lib/Test/Handlebars.pm
@@ -35,6 +35,8 @@ sub _render_ok {
my $opts = ref($_[0]) && ref($_[0]) eq 'HASH' ? shift : {};
my ($template, $env, $expected, $desc) = @_;
+ $opts->{cache} = 0;
+
my $tx = Text::Handlebars->new(%$opts);
my $exception = exception {