Create branch register_actions.
[catagits/Catalyst-Runtime.git] / t / aggregate / unit_core_component_layers.t
similarity index 78%
rename from t/unit_core_component_layers.t
rename to t/aggregate/unit_core_component_layers.t
index 4261365..c15bc73 100644 (file)
@@ -1,4 +1,4 @@
-use Test::More tests => 5;
+use Test::More tests => 6;
 use strict;
 use warnings;
 use lib 't/lib';
@@ -19,3 +19,8 @@ my $model_foo_bar = $model_foo->bar;
 
 can_ok($model_foo_bar, 'model_foo_bar_method_from_foo');
 can_ok($model_foo_bar, 'model_foo_bar_method_from_foo_bar');
+
+TestApp->setup;
+
+is($model_foo->model_quux_method, 'chunkybacon', 'Model method getting $self->{quux} from config');
+