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:
chrisbr 2015-04-22 21:30:32 +02:00 committed by Christian Bruckmayer
parent fb7ebab5a0
commit 23664119bd
25 changed files with 220 additions and 194 deletions

View file

@ -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