Show
Ignore:
Timestamp:
12/23/08 13:25:39 (6 years ago)
Author:
nekokak
Message:

alias と columnを逆にした

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/DBIx-Skinny/trunk/t/04_count.t

    r27239 r27277  
    1818            name => 'perl', 
    1919        }); 
    20         my $row = Mock->count('tag' => {id => 'count'}); 
     20        my $row = Mock->count('tag' => {count => 'id'}); 
    2121        is $row->count, 1; 
    2222 
     
    2525            name => 'ruby', 
    2626        }); 
    27         $row = Mock->count('tag' => {id => 'count'}); 
     27        $row = Mock->count('tag' => {count => 'id'}); 
    2828        is $row->count, 2; 
    2929 
    30         $row = Mock->count('tag' => {id => 'count'},{name => 'perl'}); 
     30        $row = Mock->count('tag' => {count => 'id'},{name => 'perl'}); 
    3131        is $row->count, 1; 
    3232    };