spec/factories/lead_source.rb in basecrm-1.3.8 vs spec/factories/lead_source.rb in basecrm-1.3.9
- old
+ new
@@ -1,8 +1,8 @@
FactoryBot.define do
factory :lead_source, class: BaseCRM::LeadSource do
- name { Faker::Name.name }
+ name { "source#{SecureRandom.hex}" }
to_create do |lead_source|
client.lead_sources.create(lead_source)
end