Show
Ignore:
Timestamp:
06/29/08 22:50:46 (5 years ago)
Author:
kumatch
Message:

Reviewed.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • events/phpframework/piece_framework/trunk/specs/Phwittr/User/BasicSpec.php

    r14784 r14862  
    109109    } 
    110110 
     111    public function it100件ある発言の集計集を取得すると100() 
     112    { 
     113        $this->spec($this->_user->countArchives())->should->be(100); 
     114    } 
     115 
    111116    public function it101人いる友人のアイコンをリスト化すると、古いユーザから数えて100件が並ぶ() 
    112117    { 
     
    116121        $this->spec($friendsImageList[0]->id)->should->be($this->_bar->id); 
    117122        $this->spec($friendsImageList[0]->userName)->should->be($this->_bar->userName); 
    118         $this->spec($friendsImageList[0]->image)->should->be($this->_bar->image); 
     123        $this->spec($friendsImageList[0]->image)->should->be('bar_mini.jpg'); 
    119124 
    120125        for ($i = 0; $i < 99; ++$i) { 
     
    122127 
    123128            $this->spec($friendsImageList[$i + 1]->userName)->should->be($basename); 
    124             $this->spec($friendsImageList[$i + 1]->image)->should->be("{$basename}.jpg"); 
     129            $this->spec($friendsImageList[$i + 1]->image)->should->be("{$basename}_mini.jpg"); 
    125130        } 
    126131    }