gitlab-org--gitlab-foss/spec/models/chat_team_spec.rb
Thong Kuah a2cfc150ce Add # frozen_string_literal to spec/models
Adds `# frozen_string_literal: true` to spec/models ruby files
2019-04-01 14:37:54 +13:00

18 lines
383 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
describe ChatTeam do
set(:chat_team) { create(:chat_team) }
subject { 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