diff options
Diffstat (limited to 'lib/ComponentUI/TestModel.pm')
-rw-r--r-- | lib/ComponentUI/TestModel.pm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/ComponentUI/TestModel.pm b/lib/ComponentUI/TestModel.pm new file mode 100644 index 0000000..98ebb22 --- /dev/null +++ b/lib/ComponentUI/TestModel.pm @@ -0,0 +1,19 @@ +package ComponentUI::TestModel; + +use lib 't/lib'; +use Reaction::InterfaceModel::DBIC::SchemaClass; + +class TestModel, which { + + domain_model '_testdb_schema' => + ( + isa => 'RTest::TestDB', + reflect => [ + 'Foo', + ['Bar' => 'ComponentUI::TestModel::Bars'], + ['Baz' => 'ComponentUI::TestModel::Baz', 'bazes' ], + ], + ); +}; + +1; |