--- trunk/t/10-strix-user.t 2008/07/11 19:19:42 100 +++ trunk/t/50-strix-user.t 2008/07/13 12:22:14 106 @@ -4,7 +4,7 @@ my $debug = shift @ARGV; -use Test::More tests => 8; +use Test::More tests => 7; use lib 'lib'; #use Devel::LeakTrace::Fast; @@ -19,14 +19,11 @@ diag dump( $u ) if $debug; -ok( my $i = $u->rows, 'rows' ); +ok( my $i = $u->collection( 2, 1 ), 'collection' ); isa_ok( $i, 'Fey::Object::Iterator' ); diag dump( $i ) if $debug; -my $more = 3; - while ( $u = $i->next ) { isa_ok( $u, 'Strix::User' ); - last unless --$more; }