gitlab-org--gitlab-foss/spec/factories/chat_names.rb
2016-11-16 14:56:30 +01:00

16 lines
287 B
Ruby

FactoryGirl.define do
factory :chat_name, class: ChatName do
user factory: :user
service factory: :service
team_id 'T0001'
team_domain 'Awesome Team'
sequence :chat_id do |n|
"U#{n}"
end
sequence :chat_name do |n|
"user#{n}"
end
end
end