Sha256: fe284a0f91356228229f907fe954ad185b24ceb44f5ba41393de9336a63cb6ff

Contents?: true

Size: 203 Bytes

Versions: 3

Compression:

Stored size: 203 Bytes

Contents

FactoryBot.define do
  factory :lead_source, class: BaseCRM::LeadSource do

    name { Faker::Name.name }


    to_create do |lead_source|
      client.lead_sources.create(lead_source)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
basecrm-1.3.8 spec/factories/lead_source.rb
basecrm-1.3.7 spec/factories/lead_source.rb
basecrm-1.3.6 spec/factories/lead_source.rb