post votes: add index page.

This commit is contained in:
evazion
2019-10-28 03:21:18 -05:00
parent 754e3a2ee2
commit f4376fc7a3
9 changed files with 95 additions and 14 deletions

View File

@@ -0,0 +1,7 @@
FactoryBot.define do
factory(:post_vote) do
user
post
score { [-1, 1].sample }
end
end