forum post votes: add index page.

This commit is contained in:
evazion
2019-10-28 01:06:23 -05:00
parent d617b20b49
commit 0e159960a2
10 changed files with 92 additions and 19 deletions
+5 -1
View File
@@ -1,3 +1,7 @@
FactoryBot.define do
factory(:forum_post_vote)
factory(:forum_post_vote) do
creator
forum_post
score { [-1, 0, 1].sample }
end
end