From 4986de2c3323d74aecb08920b68efe45166f29da Mon Sep 17 00:00:00 2001 From: Raphael Date: Wed, 20 Oct 2010 10:35:16 -0700 Subject: [PATCH] Put reloads back in --- spec/models/user/user_friending_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/models/user/user_friending_spec.rb b/spec/models/user/user_friending_spec.rb index 221887885..bae837b09 100644 --- a/spec/models/user/user_friending_spec.rb +++ b/spec/models/user/user_friending_spec.rb @@ -165,13 +165,13 @@ describe User do it 'should unfriend the other user on the same seed' do lambda {user2.unfriend user.person}.should change{ user2.friends.count}.by(-1) - aspect2.people.count.should == 0 + aspect2.reload.people.count.should == 0 end it 'is unfriended by another user' do lambda {user.unfriended_by user2.person}.should change{ user.friends.count}.by(-1) - aspect.people.count.should == 0 + aspect.reload.people.count.should == 0 end context 'with a post' do