Restructure omni services and add Chatwoot research snapshot
This commit is contained in:
8
research/chatwoot/spec/factories/custom_roles.rb
Normal file
8
research/chatwoot/spec/factories/custom_roles.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
FactoryBot.define do
|
||||
factory :custom_role do
|
||||
account
|
||||
name { Faker::Name.name }
|
||||
description { Faker::Lorem.sentence }
|
||||
permissions { CustomRole::PERMISSIONS.sample(SecureRandom.random_number(1..4)) }
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user