Sha256: 0fd13489acd52c7f6755775ce6a1fdc9904fcef4bd0510309e9b6d5d8228ba50

Contents?: true

Size: 214 Bytes

Versions: 3

Compression:

Stored size: 214 Bytes

Contents

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

    name { "source#{SecureRandom.hex}" }


    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-2.0.0 spec/factories/lead_source.rb
basecrm-1.3.10 spec/factories/lead_source.rb
basecrm-1.3.9 spec/factories/lead_source.rb