projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
ditching the COMPONENT constructor
[catagits/Catalyst-Runtime.git]
/
t
/
lib
/
TestAppCustomContainer
/
Model
/
Baz.pm
diff --git
a/t/lib/TestAppCustomContainer/Model/Baz.pm
b/t/lib/TestAppCustomContainer/Model/Baz.pm
index
2efb1f5
..
fa475e6
100644
(file)
--- a/
t/lib/TestAppCustomContainer/Model/Baz.pm
+++ b/
t/lib/TestAppCustomContainer/Model/Baz.pm
@@
-4,6
+4,12
@@
extends 'Catalyst::Model';
with 'TestAppCustomContainer::Role::HoldsFoo',
'TestAppCustomContainer::Role::ACCEPT_CONTEXT';
+sub BUILD {
+ my ( $self ) = @_;
+
+ $self->foo->inc_baz_got_it;
+}
+
__PACKAGE__->meta->make_immutable;
no Moose;