mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 03:27:52 +00:00
- 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
15 lines
335 B
Ruby
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
|