Sha256: 9930f88ba2a261ba49585e549c90bd575a9f0cae65b8af36086b8c4fff193c41

Contents?: true

Size: 203 Bytes

Versions: 3

Compression:

Stored size: 203 Bytes

Contents

FactoryBot.define do
  factory :loss_reason, class: BaseCRM::LossReason do

    name { Faker::Name.name }


    to_create do |loss_reason|
      client.loss_reasons.create(loss_reason)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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