diff --git a/spec/factories/campaigns.rb b/spec/factories/campaigns.rb index d909c2d..2a58f36 100644 --- a/spec/factories/campaigns.rb +++ b/spec/factories/campaigns.rb @@ -1,22 +1,29 @@ FactoryGirl.define do factory :campaign do - sequence(:clientid) { |x| "clientid#{x}" } + sequence(:clientid) { |x| x } sequence(:billingcode) { |x| "billingcode#{x}" } sequence(:listingcode) { |x| "listingcode#{x}" } - advertisername "MyName1" - address1 "addr1_1" - address2 "addr2_1" - city "Mycity" - state "MyState" - zip "88888" - emailaddress "google@google.com" - customerfirstname "Name" - customerlastname "Last" - salesrep "SalesGuy" - salesrepemail "email@sales.com" - businessphone "8005882300" - contactphone "8005882301" - websiteurl "http://www.google.com/" + address "123 Anywhere Street" + advertisername "Bob's BBQ" + awards "Best in BBQ" + background "Bob started in Memphis" + businessphone "5555551000" + categories "Food, BBQ, Southern California, Restaurant, Cooking" + city "Some City" + companycolors "Brown, Red" + contactphone "5555551212" + customerfirstname "Bob" + customerlastname "De Bbq" + description "Bob's BBQ is the best BBQ in the Some City area of Southern Cali" + emailaddress "bob@bobsbbq.com" + facebookurl "facebook.com/bobsbbq" + productsandservices "BBQ, Catering, Parties, Lunch, Dinner" + state "CA" + targetaudience "Anyone with teeth" + tollfreephone "8005551212" + vpa "John Smith" + websiteurl "bobsbbq.com" + zip "90200" processed false end end diff --git a/spec/factories/videolistings.rb b/spec/factories/videolistings.rb index 5a8fd68..7364d26 100644 --- a/spec/factories/videolistings.rb +++ b/spec/factories/videolistings.rb @@ -2,15 +2,16 @@ 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..." + focus "Catering and Bob's abilityto serve large crowds" + keywords "Catering, Large Parties, Birthdays, Celebrations" + 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}" } - producttypeid "IMPORTANT" - remoteassetsarchive "MyString" - voiceoverselection "MyString" - musicselection "MyString" - clientprovidedscript "MyString" - keywords "MyString" - focus "MyString" - notes "MyString" - asseturls "MyString, MyString2" + end end