feat: Team APIs (#1654)

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Sojan Jose
2021-01-17 23:56:56 +05:30
committed by GitHub
parent dd90e24d02
commit a0c33254e7
29 changed files with 523 additions and 2 deletions

View 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
View File

@@ -0,0 +1,8 @@
FactoryBot.define do
factory :team do
name { 'MyString' }
description { 'MyText' }
allow_auto_assign { true }
account
end
end