summaryrefslogtreecommitdiff
path: root/spec/factories/chat_names.rb
blob: c872694ee646346ac9b94538a1ea9d105bc0623d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

FactoryBot.define do
  factory :chat_name, class: 'ChatName' do
    user

    team_id { 'T0001' }
    team_domain { 'Awesome Team' }

    sequence(:chat_id) { |n| "U#{n}" }
    chat_name { generate(:username) }
  end
end