summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--t/01-basic.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/01-basic.t b/t/01-basic.t
index 3312547..51c04ba 100644
--- a/t/01-basic.t
+++ b/t/01-basic.t
@@ -49,7 +49,7 @@ use Path::Class ();
dependencies => ['template_root'],
);
- has controller => (
+ has root => (
is => 'ro',
isa => 'Foo::Controller',
dependencies => ['view'],
@@ -60,7 +60,7 @@ use Path::Class ();
content => 'Hello world',
);
route '/foo' => 'root.foo';
- }, (root => 'controller');
+ };
}
my $foo = Foo->new;