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'
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
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')