/[transports]/trunk/t/00-model-User.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/t/00-model-User.t

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 10 by dpavlin, Fri May 5 12:38:53 2006 UTC revision 11 by dpavlin, Fri May 5 21:19:36 2006 UTC
# Line 40  isnt($o->id, $id, "And it is different f Line 40  isnt($o->id, $id, "And it is different f
40  # Searches in general  # Searches in general
41  my $collection =  Transports::Model::UserCollection->new(current_user => $system_user);  my $collection =  Transports::Model::UserCollection->new(current_user => $system_user);
42  $collection->unlimit;  $collection->unlimit;
43  is($collection->count, 2, "Finds two records");  is($collection->count, 3, "Finds two records");
44    
45  # Searches in specific  # Searches in specific
46  $collection->limit(column => 'id', value => $o->id);  $collection->limit(column => 'id', value => $o->id);
# Line 53  is($collection->count, 0, "Deleted row i Line 53  is($collection->count, 0, "Deleted row i
53    
54  # And the other one is still there  # And the other one is still there
55  $collection->unlimit;  $collection->unlimit;
56  is($collection->count, 1, "Still one left");  is($collection->count, 2, "Still one left");
57    

Legend:
Removed from v.10  
changed lines
  Added in v.11

  ViewVC Help
Powered by ViewVC 1.1.26