From: Dave Rolsky Date: Sun, 15 May 2011 15:05:53 +0000 (-0500) Subject: Fix failing test - render_file_contents is expected to return the filename X-Git-Tag: 1.34~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=49d5395a6571edc9bee70605bd0818338c90f822;p=catagits%2FCatalyst-Devel.git Fix failing test - render_file_contents is expected to return the filename I think it'd be better to change the tests, but this is the simplest fix. --- diff --git a/lib/Catalyst/Helper.pm b/lib/Catalyst/Helper.pm index 94e17e3..a9296ae 100644 --- a/lib/Catalyst/Helper.pm +++ b/lib/Catalyst/Helper.pm @@ -326,6 +326,7 @@ sub render_file_contents { message => qq/Couldn't process "$template", / . $t->error() ); my $file = $self->mk_file( $path, $output ); chmod $perms, file($file) if defined $perms; + return $file; } sub _mk_information {