2022-01-01 13:38:12 +00:00
|
|
|
# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
|
2021-06-01 12:20:20 +00:00
|
|
|
|
2019-06-04 03:40:48 +00:00
|
|
|
require 'rails_helper'
|
|
|
|
require 'models/contexts/factory_context'
|
|
|
|
|
2019-09-18 17:25:04 +00:00
|
|
|
RSpec.describe KnowledgeBase::Answer::Translation::Content, type: :model, current_user_id: 1 do
|
2019-06-04 03:40:48 +00:00
|
|
|
subject { create(:knowledge_base_answer_translation_content) }
|
|
|
|
|
|
|
|
include_context 'factory'
|
|
|
|
|
|
|
|
it { is_expected.to have_one(:translation) }
|
|
|
|
end
|