Move user_follow to separate file (#1210)

Also add unit tests
This commit is contained in:
Ethan Koenig authored and Lunny Xiao committed 2017-03-11 16:46:53 +08:00
1 parent 1e3548b7e7
commit 3803f257fb
5 files changed
+123 -72

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
-
id: 1
user_id: 4
follow_id: 2
+3
View File
@@ -26,6 +26,7 @@
avatar_email: user2@example.com
num_repos: 2
num_stars: 2
num_followers: 1
-
id: 3
@@ -56,6 +57,7 @@
avatar: avatar4
avatar_email: user4@example.com
num_repos: 0
num_following: 1
-
id: 5
@@ -72,6 +74,7 @@
num_repos: 1
allow_create_organization: false
is_active: true
num_following: 0
-
id: 6