aboutsummaryrefslogtreecommitdiffstats
path: root/t/lib/RTest/TestDB/Baz.pm
diff options
context:
space:
mode:
authoredenc <edenc@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2008-02-11 19:00:44 +0000
committeredenc <edenc@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2008-02-11 19:00:44 +0000
commited6d9da866e6b8623eb4d1e381f616b5edfd14c8 (patch)
tree66e4563a9f6de3baaf31ce3e47b0c21b0fd9591f /t/lib/RTest/TestDB/Baz.pm
parentbb7b45570912280f80f2babafd33fd247e04240a (diff)
downloadreaction-ed6d9da866e6b8623eb4d1e381f616b5edfd14c8.tar.gz
reaction-ed6d9da866e6b8623eb4d1e381f616b5edfd14c8.zip
fixed demo app
Diffstat (limited to 't/lib/RTest/TestDB/Baz.pm')
-rw-r--r--t/lib/RTest/TestDB/Baz.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/lib/RTest/TestDB/Baz.pm b/t/lib/RTest/TestDB/Baz.pm
index 1ac88a7..ebb0e32 100644
--- a/t/lib/RTest/TestDB/Baz.pm
+++ b/t/lib/RTest/TestDB/Baz.pm
@@ -5,9 +5,10 @@ use DBIx::Class 0.07;
use base qw/DBIx::Class Reaction::Object/;
use Reaction::Class;
+use Reaction::Types::Core 'NonEmptySimpleStr';
has 'id' => (isa => 'Int', is => 'ro', required => 1);
-has 'name' => (isa => 'NonEmptySimpleStr', is => 'rw', required => 1);
+has 'name' => (isa => NonEmptySimpleStr, is => 'rw', required => 1);
has 'foo_list' => (isa => 'ArrayRef', is => 'ro', required => 1);
__PACKAGE__->load_components(qw/InflateColumn::DateTime Core/);