fixing the test that was broken in the resync

This commit is contained in:
Shaun McDonald 2008-09-25 16:20:36 +00:00
parent 629843b96b
commit 6dfc83da03

View file

@ -120,8 +120,8 @@ class UserTest < Test::Unit::TestCase
norm = users(:normal_user)
sec = users(:second_user)
friend = Friend.new
friend.user = norm
friend.friend_user_id = sec.id
friend.befriender = norm
friend.befriendee = sec
friend.save
assert_equal [sec], norm.nearby
assert_equal 1, norm.nearby.size