debian-mirror-gitlab/spec/factories/chat_names.rb
2020-03-13 15:44:24 +05:30

14 lines
297 B
Ruby

# frozen_string_literal: true
FactoryBot.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) }
end
end