Modified the test to use the new pending status
Modified the test to use the new pending status
Added factory_girl's test helpers
Defined some factories for factory_girl
Fixed a bug that returned the mail object instead of the user
Added new put :accept for user_friendships
Defined edit and accept methods, modified the behaviour of create to use .request
Defined mutual_friendship and accept_mutual_friendship to handle the double friendship request
Because git say I modified it
Added all the tests for the previous commits
Created the edit interface
Created the index interface