6 my $artists = $schema->resultset("Artist")->search({},{order_by=>'position'});
8 plan tests => $artists->count();
10 my $expected_position = 0;
11 while (my $artist = $artists->next()) {
12 $expected_position ++;
13 ok( ($artist->position()==$expected_position), 'default positions set as expected' );