fix subclassing gotcha introduced with source_name
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / ResultSetManager / Foo.pm
diff --git a/t/lib/DBICTest/ResultSetManager/Foo.pm b/t/lib/DBICTest/ResultSetManager/Foo.pm
new file mode 100644 (file)
index 0000000..7253ac1
--- /dev/null
@@ -0,0 +1,10 @@
+package # hide from PAUSE 
+    DBICTest::ResultSetManager::Foo;
+use base 'DBIx::Class';
+
+__PACKAGE__->load_components(qw/ ResultSetManager Core /);
+__PACKAGE__->table('foo');
+
+sub bar : ResultSet { 'good' }
+
+1;