summaryrefslogtreecommitdiff
path: root/spec/factories/chat_names.rb
blob: 9a0be1a4598d1707deb257414434275a054afa2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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) }
  end
end