post votes: add index page.
This commit is contained in:
7
test/factories/post_vote.rb
Normal file
7
test/factories/post_vote.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
FactoryBot.define do
|
||||
factory(:post_vote) do
|
||||
user
|
||||
post
|
||||
score { [-1, 1].sample }
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user