Fix failing test - render_file_contents is expected to return the filename
[catagits/Catalyst-Devel.git] / lib / Catalyst / Helper.pm
index 94e17e3..a9296ae 100644 (file)
@@ -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 {