Implement simplified commercials workflow
It's now possible to simply enter the url of the third party provider to enter a commercial.
This commit is contained in:
parent
e6bb168c5e
commit
58974d6914
26 changed files with 194 additions and 188 deletions
|
|
@ -2,8 +2,7 @@
|
|||
|
||||
FactoryGirl.define do
|
||||
factory :commercial do
|
||||
commercial_type 'YouTube'
|
||||
commercial_id 'test'
|
||||
url 'https://www.youtube.com/watch?v=BTTygyxuGj8'
|
||||
|
||||
factory :conference_commercial do
|
||||
association :commercialable, factory: :conference
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue