session.rb 99 B

12345
  1. FactoryBot.define do
  2. factory :'chat/session' do
  3. chat_id { Chat.pluck(:id).sample }
  4. end
  5. end