use temp COMPILE_DIR to avoid test failures

where the default COMPILE_DIR already exists and is owned
by another user or not writable for some other reason by
the testing user.
This commit is contained in:
Graham Ollis
2012-12-27 13:21:23 -05:00
parent 6146b1f2f5
commit 1d9ea654e9
8 changed files with 21 additions and 9 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ use_ok 'Foo';
push @{app->renderer->classes}, 'Foo';
plugin 'tt_renderer' => {template_options => {PRE_CHOMP => 1, POST_CHOMP => 1, TRIM => 1}};
plugin 'tt_renderer' => {template_options => {PRE_CHOMP => 1, POST_CHOMP => 1, TRIM => 1, COMPILE_DIR => tempdir( CLEANUP => 1 )}};
app->log->level('fatal');