X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a14419f04f0d010e271de9c4774c4a9bb33faaab..061d77726666beb8bccc27e0d410c4dc0ee4ef09:/test/unit/user_test.rb?ds=sidebyside 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