From 2df8adea699a7356ac52cf033262d4a21367bcc9 Mon Sep 17 00:00:00 2001 From: Henne Vogelsang Date: Tue, 12 Dec 2017 11:49:20 +0100 Subject: [PATCH] Link to an existing video with embeddable content Otherwise the Commercial validation hits --- spec/factories/commercials.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/factories/commercials.rb b/spec/factories/commercials.rb index cf865348..7fa052a7 100644 --- a/spec/factories/commercials.rb +++ b/spec/factories/commercials.rb @@ -2,7 +2,7 @@ FactoryGirl.define 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 association :commercialable, factory: :conference