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
parent 32fa0bde6b
commit cefdc585fe
No known key found for this signature in database
GPG key ID: 9D6164C2955FADE0

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