Sha256: b7ee07c046fe7c970e743551331bd852036da5b02e6a29eb450035a35e5feb49

Contents?: true

Size: 214 Bytes

Versions: 3

Compression:

Stored size: 214 Bytes

Contents

FactoryBot.define do
  factory :deal_source, class: BaseCRM::DealSource do

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


    to_create do |deal_source|
      client.deal_sources.create(deal_source)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
basecrm-2.0.0 spec/factories/deal_source.rb
basecrm-1.3.10 spec/factories/deal_source.rb
basecrm-1.3.9 spec/factories/deal_source.rb