diff options
Diffstat (limited to 't/lib/RTest/TestDB/Baz.pm')
-rw-r--r-- | t/lib/RTest/TestDB/Baz.pm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/t/lib/RTest/TestDB/Baz.pm b/t/lib/RTest/TestDB/Baz.pm index ad4c61e..3b0306e 100644 --- a/t/lib/RTest/TestDB/Baz.pm +++ b/t/lib/RTest/TestDB/Baz.pm @@ -11,12 +11,12 @@ use Reaction::Types::Core qw/NonEmptySimpleStr/; has 'id' => (isa => Int, is => 'ro', required => 1); has 'name' => (isa => NonEmptySimpleStr, is => 'rw', required => 1); has 'foo_list' => ( - isa => ArrayRef, - is => 'rw', - required => 1, - writer => 'set_foo_list', - reader => 'get_foo_list', - ); + isa => ArrayRef, + is => 'rw', + required => 1, + writer => 'set_foo_list', + reader => 'get_foo_list', +); around get_foo_list => sub { [ $_[1]->foo_list->all ] }; |