Sha256: c1b23460ca1140d96e6d00b1ded7ec7851d4566afa823af1db4586b14e0b1e96
Contents?: true
Size: 287 Bytes
Versions: 1
Compression:
Stored size: 287 Bytes
Contents
FactoryGirl.define do factory :ecm_videos_video, class: Ecm::Videos::Video do association(:category, factory: :ecm_videos_category) sequence(:name) { |i| "Video #{i}" } clip { File.open(Ecm::Videos::Engine.root.join(*%w(spec files ecm_videos videos clip.mp4))) } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ecm_videos-2.1.0 | spec/factories/ecm_videos_videos.rb |