Chatwoot/spec/models/team_spec.rb
Sojan Jose a0c33254e7
feat: Team APIs (#1654)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-01-17 23:56:56 +05:30

9 lines
249 B
Ruby

require 'rails_helper'
RSpec.describe Team, type: :model do
describe 'associations' do
it { is_expected.to belong_to(:account) }
it { is_expected.to have_many(:conversations) }
it { is_expected.to have_many(:team_members) }
end
end