Link to an existing video with embeddable content

Otherwise the Commercial validation hits
This commit is contained in:
Henne Vogelsang 2017-12-12 11:49:20 +01:00 committed by Stella Rouzi
parent 4289f699ac
commit 2df8adea69

View file

@ -2,7 +2,7 @@
FactoryGirl.define do FactoryGirl.define do
factory :commercial do factory :commercial do
sequence(:url) { |n| "https://www.youtube.com/watch?v=BTTygyxuGj#{n}" } sequence(:url) { |n| "https://www.youtube.com/watch?v=4VrhlyIgo3M&factory=#{n}" }
factory :conference_commercial do factory :conference_commercial do
association :commercialable, factory: :conference association :commercialable, factory: :conference