my $schema = DBICTest->init_schema();
-plan tests => 11;
+plan tests => 12;
my $rs = $schema->resultset('CD')->search({},
{
#
# from doesn't seem to be useful without using a scalarref - there were no initial tests >:(
#
-$schema->storage->debug (1);
my $cds = $schema->resultset ('CD')->search ({}, { order_by => 'me.cdid'}); # make sure order is consistent
cmp_ok ($cds->count, '>', 2, 'Initially populated with more than 2 CDs');
is ($subsel->count, 2, 'Subselect correctly limited the rs to 2 cds');
is ($subsel->next->title, $cds->next->title, 'First CD title match');
is ($subsel->next->title, $cds->next->title, 'Second CD title match');
+
+is($schema->resultset('CD')->current_source_alias, "me", '$rs->current_source_alias returns "me"');