Chatwoot/spec/factories/account_users.rb
Sojan Jose 8b4df986bf
Chore: Enable Users to create multiple accounts (#440)
Addresses: #402
- migrations to split roles and other attributes from users table
- make changes in code to accommodate this change

Co-authored-by: Sojan Jose <sojan@pepalo.com>
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
2020-03-07 12:18:16 +05:30

9 lines
131 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :account_user do
account
user
role { 'agent' }
end
end