Re: [rspec-users] Trouble using should_receive

2007-11-15 Thread Pat Maddox
On Nov 15, 2007 10:50 AM, Glenn Ford <[EMAIL PROTECTED]> wrote: > > I have this code trying to ensure my reset method works. I want to make sure > all the participants have their destroy method called. > > # in my spec for Room r = Room.new(:name => 'bob') r.save p = > Participant.new(:login => 'a'

Re: [rspec-users] Trouble using should_receive

2007-11-15 Thread Glenn Ford
On Nov 15, 2007, at 2:03 PM, Pat Maddox wrote: > On Nov 15, 2007 10:50 AM, Glenn Ford <[EMAIL PROTECTED]> wrote: >> >> I have this code trying to ensure my reset method works. I want to >> make sure >> all the participants have their destroy method called. >> >> # in my spec for Room r = Room.n

[rspec-users] Trouble using should_receive

2007-11-15 Thread Glenn Ford
I have this code trying to ensure my reset method works. I want to make sure all the participants have their destroy method called. # in my spec for Room r = Room.new(:name => 'bob') r.save p = Participant.new(:login => 'a', :password => 'b', :password_confirmation => 'b')