Add vote functionality to tracks
This commit is contained in:
parent
8b2f2b538e
commit
92b09c7de4
18 changed files with 237 additions and 19 deletions
|
|
@ -2,8 +2,10 @@
|
|||
|
||||
FactoryBot.define do
|
||||
factory :vote do
|
||||
event
|
||||
user
|
||||
rating { 1 }
|
||||
|
||||
association :votable, factory: :event
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue