feat: Team APIs (#1654)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
8
spec/factories/team_members.rb
Normal file
8
spec/factories/team_members.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
FactoryBot.define do
|
||||
factory :team_member do
|
||||
user
|
||||
team
|
||||
end
|
||||
end
|
||||
8
spec/factories/teams.rb
Normal file
8
spec/factories/teams.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
FactoryBot.define do
|
||||
factory :team do
|
||||
name { 'MyString' }
|
||||
description { 'MyText' }
|
||||
allow_auto_assign { true }
|
||||
account
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user