fixed friend bug

This commit is contained in:
Brian Smith 2013-01-10 22:42:26 -05:00
parent 0940175f88
commit b6609eb39c
1 changed files with 1 additions and 9 deletions

View File

@ -12,15 +12,7 @@ describe "Music Session API ", :type => :api do
end
def make_friends(user1, user2)
friendship = Friendship.new()
friendship.user_id = user1.id
friendship.friend_id = user2.id
friendship.save
friendship = Friendship.new()
friendship.user_id = user2.id
friendship.friend_id = user1.id
friendship.save
Friendship.save(user1, user2)
end
describe "profile page" do