Sha256: cd4e5e01731b861d2aced865238fc8eea28f35e5c006ca8bfd82e7b636c0c404

Contents?: true

Size: 320 Bytes

Versions: 4

Compression:

Stored size: 320 Bytes

Contents

FactoryBot.define do
  factory :contact, class: Hubspot::Contact do
    to_create { |instance| instance.save }

    firstname { Faker::Name.first_name }
    lastname { Faker::Name.last_name }
    email { Faker::Internet.email(name: "#{Time.new.to_i.to_s[-5..-1]}#{(0..3).map { (65 + rand(26)).chr }.join}") }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hubspot-api-ruby-0.19.0 spec/factories/contacts.rb
hubspot-api-ruby-0.18.0 spec/factories/contacts.rb
hubspot-api-ruby-0.17.1 spec/factories/contacts.rb
hubspot-api-ruby-0.17.0 spec/factories/contacts.rb