summaryrefslogtreecommitdiff
path: root/spec/factories/chat_names.rb
blob: 24225468d5541a6a46c3dbe78c32c4309b80f2a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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