re-fix many_to_many and add tests
[dbsrgits/DBIx-Class-Historic.git] / t / lib / DBICTest / Schema / HelperRels.pm
index 4c7ea1d..ff47640 100644 (file)
@@ -54,5 +54,6 @@ DBICTest::Schema::ArtistUndirectedMap->has_many(
 
 # now the Helpers
 DBICTest::Schema::CD->many_to_many( 'producers', 'cd_to_producer', 'producer');
+DBICTest::Schema::CD->many_to_many( 'producers_sorted', 'cd_to_producer', 'producer', { order_by => 'producer.name' });
 
 1;