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

13 lines
257 B
Ruby
Raw Normal View History

2016-11-16 08:56:30 -05:00
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) { |n| "U#{n}" }
chat_name { generate(:username) }
2016-11-16 08:56:30 -05:00
end
end