# Read about factories at https://github.com/thoughtbot/factory_girl FactoryGirl.define do factory :videolisting do asseturls "http://s3.amazon.com/555555/catering.jpg,http://s3.amazon.com/555555/bbq.jpg,http://s3.amazon.com/555555/bob.jpg,http://s3.amazon.com/555555/party.jpg" clientprovidedscript "Bob's BBQ knows how to cater your next event..." musicselection 5 notes "Bob would like to focus on family gatherings" producttypeid 720 toneofvideo "Upbeat, targeting familys but also show business functions." voiceoverselection 3 sequence(:videocode) {|x| "video#{x}" } end end