summaryrefslogtreecommitdiffstats
path: root/t/helpers-examples.t
diff options
context:
space:
mode:
Diffstat (limited to 't/helpers-examples.t')
-rw-r--r--t/helpers-examples.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/helpers-examples.t b/t/helpers-examples.t
index 1df8e99..8f5a2fc 100644
--- a/t/helpers-examples.t
+++ b/t/helpers-examples.t
@@ -9,7 +9,7 @@ use Text::Xslate 'mark_raw';
render_ok(
{
- function => {
+ helpers => {
fullName => sub {
my ($context, $person) = @_;
return $person->{firstName} . ' ' . $person->{lastName};
@@ -55,7 +55,7 @@ RENDERED
render_ok(
{
- function => {
+ helpers => {
agree_button => sub {
my ($context) = @_;
return mark_raw(