One more aspects.first removed. I think they're breeding

This commit is contained in:
Sarah Mei 2011-09-05 19:28:10 -07:00
parent 7d10b3fdb0
commit 6fbb68480b

View file

@ -57,8 +57,8 @@ describe 'a user receives a post' do
sm.save! sm.save!
sm.stub!(:socket_to_user) sm.stub!(:socket_to_user)
bob.aspects.reload bob.aspects.reload
bob.add_to_streams(sm, [bob.aspects.first]) bob.add_to_streams(sm, [@bobs_aspect])
bob.dispatch_post(sm, :to => bob.aspects.first) bob.dispatch_post(sm, :to => @bobs_aspect)
end end
alice.visible_posts.count.should == 1 alice.visible_posts.count.should == 1