X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d9e070e06956801aba2378c1b79b4d9f13ae12ee..061d77726666beb8bccc27e0d410c4dc0ee4ef09:/test/unit/user_test.rb diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb index 587fc71fb..486344fee 100644 --- a/test/unit/user_test.rb +++ b/test/unit/user_test.rb @@ -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