view_sources sorter done? --AKB
[dbsrgits/DBIx-Class.git] / t / lib / ViewDeps / Result / Foo.pm
index 512af94..8950489 100644 (file)
@@ -8,6 +8,9 @@ use aliased 'DBIx::Class::ResultSource::View';
 
 __PACKAGE__->table_class(View);
 __PACKAGE__->table('foo');
+
+__PACKAGE__->result_source_instance->view_definition("select * from just_a_table");
+
 __PACKAGE__->add_columns(
     id => { data_type => 'integer', is_auto_increment => 1 },
     a  => { data_type => 'integer', is_nullable       => 1 }
@@ -18,4 +21,6 @@ __PACKAGE__->set_primary_key('id');
 __PACKAGE__->belongs_to( 'bar', 'ViewDeps::Result::Bar',
     { 'foreign.id' => 'self.a' } );
 
+
+
 1;