Files
chatwoot/spec/factories/articles.rb
Pranav 3a0b5f387d fix: Update specs, add background response job implementation for copilot threads (#11600)
- Enable jobs by default when a copilot thread or a message is created.
- Rename thread_id to copilot_thread_id to keep it consistent with the
model name
- Add a spec for search_linear_issues service
2025-05-27 14:10:27 -06:00

15 lines
335 B
Ruby

FactoryBot.define do
factory :article, class: 'Article' do
account
category { nil }
portal
locale { 'en' }
association :author, factory: :user
title { "#{Faker::Movie.title} #{SecureRandom.hex}" }
content { 'MyText' }
description { 'MyDescrption' }
status { :published }
views { 0 }
end
end