Re: [rspec-users] nil object error
On Fri, May 29, 2009 at 6:26 AM, Diwakar, ANGLER - EIT wrote: > -- Controller > > def create > > �...@avatars = Avatar.find( :all, > :conditions => { :user_id => 0 } > ) > > @avatars.concat( user.avatars ) > > end > > > --- spec --- >
[rspec-users] nil object error
-- Controller def create @avatars = Avatar.find( :all, :conditions => { :user_id => 0 } ) @avatars.concat( user.avatars ) end --- spec --- describe UserAvatarsController do describe :create do before(:each) do @a
