Commit c64bb3c7 authored by marcheing's avatar marcheing

Move test video to features/support/fixtures

This file should not be public
parent bca58fbf
Pipeline #3696409 passed with stage
in 18 minutes and 38 seconds
......@@ -7,10 +7,10 @@ FactoryGirl.define do
end
trait :with_file_name do
video_file_name "#{Rails.root}/public/cucumber/videos/video.mp4"
video_file_name Rails.root.join('features', 'support', 'fixtures', 'videos', 'video.mp4').to_s
end
trait :zencoder do
video { File.new "#{Rails.root}/public/cucumber/videos/video.mp4" }
video { File.new Rails.root.join('features', 'support', 'fixtures', 'videos', 'video.mp4') }
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment