Chatwoot/spec/factories/kbase/articles.rb

15 lines
294 B
Ruby
Raw Permalink Normal View History

FactoryBot.define do
factory :kbase_article, class: 'Kbase::Article' do
account_id { 1 }
category_id { 1 }
folder_id { 1 }
author_id { 1 }
title { 'MyString' }
content { 'MyText' }
status { 1 }
views { 1 }
seo_title { 'MyString' }
seo { '' }
end
end