blob: 5283561a83fbce5b6e2a99760c26a7694aedf3d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
require 'spec_helper'
describe ChatTeam, type: :model do
subject { create(:chat_team) }
# Associations
it { is_expected.to belong_to(:namespace) }
# Validations
it { is_expected.to validate_uniqueness_of(:namespace) }
# Fields
it { is_expected.to respond_to(:name) }
it { is_expected.to respond_to(:team_id) }
end
|