/[transports]/trunk/t/00-model-Destination.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-Destination.t

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

revision 10 by dpavlin, Fri May 5 12:25:30 2006 UTC revision 11 by dpavlin, Fri May 5 21:19:36 2006 UTC
# Line 32  isnt($o->id, $id, "And it is different f Line 32  isnt($o->id, $id, "And it is different f
32  # Searches in general  # Searches in general
33  my $collection =  Transports::Model::DestinationCollection->new(current_user => $system_user);  my $collection =  Transports::Model::DestinationCollection->new(current_user => $system_user);
34  $collection->unlimit;  $collection->unlimit;
35  is($collection->count, 2, "Finds two records");  is($collection->count, 4, "Finds two records");
36    
37  # Searches in specific  # Searches in specific
38  $collection->limit(column => 'id', value => $o->id);  $collection->limit(column => 'id', value => $o->id);
# Line 45  is($collection->count, 0, "Deleted row i Line 45  is($collection->count, 0, "Deleted row i
45    
46  # And the other one is still there  # And the other one is still there
47  $collection->unlimit;  $collection->unlimit;
48  is($collection->count, 1, "Still one left");  is($collection->count, 3, "Still one left");
49    

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

  ViewVC Help
Powered by ViewVC 1.1.26