gitlab-org--gitlab-foss/spec/factories/chat_names.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
268 B
Ruby
Raw Normal View History

# frozen_string_literal: true
FactoryBot.define do
factory :chat_name, class: 'ChatName' do
user
integration
2016-11-16 13:56:30 +00:00
team_id { 'T0001' }
team_domain { 'Awesome Team' }
2016-11-16 13:56:30 +00:00
sequence(:chat_id) { |n| "U#{n}" }
chat_name { generate(:username) }
2016-11-16 13:56:30 +00:00
end
end