- # friend = Friend.new
- # friend.befriender = norm
- # friend.befriendee = sec
- # friend.save
- assert_equal [sec], norm.nearby
- assert_equal 1, norm.nearby.size
+ create(:friend, :user_id => norm.id, :friend_user_id => sec.id)
+ assert_equal 1, Friend.count
+ assert_equal [sec], norm.friend_users
+ assert_equal 1, norm.friend_users.size