Restructure omni services and add Chatwoot research snapshot
This commit is contained in:
14
research/chatwoot/spec/factories/articles.rb
Normal file
14
research/chatwoot/spec/factories/articles.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
||||
Reference in New Issue
Block a user