2014-04-07 18:41:34 +00:00
|
|
|
FactoryGirl.define do
|
|
|
|
factory :campaign do
|
2014-04-09 18:12:14 +00:00
|
|
|
sequence(:clientid) { |x| "clientid#{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/"
|
|
|
|
processed false
|
2014-04-07 18:41:34 +00:00
|
|
|
end
|
|
|
|
end
|