summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-03-08 18:26:07 -0600
committerJesse Luehrs <doy@tozt.net>2013-03-08 18:26:07 -0600
commit054507b0425cb0e9cd227ce7608163ef7841af5d (patch)
tree8f6d015927446efe66a47cdb07ce3b2b7cfd25e0
parente7d2870c35a1a7d09832a7a82c7b1a53a8eb80c6 (diff)
downloadox-view-tt-054507b0425cb0e9cd227ce7608163ef7841af5d.tar.gz
ox-view-tt-054507b0425cb0e9cd227ce7608163ef7841af5d.zip
fix tests for new ox
-rw-r--r--t/basic.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/basic.t b/t/basic.t
index ae0fb88..0735e0f 100644
--- a/t/basic.t
+++ b/t/basic.t
@@ -25,8 +25,7 @@ use Path::Class ();
my ($r) = @_;
(my $template = $AUTOLOAD) =~ s/.*:://;
$template .= '.tt';
- my %defaults = $r->mapping;
- $self->render($r, $template, \%defaults);
+ $self->render($r, $template, $r->mapping);
}
sub can { 1 }
}