trabajo-afectivo/spec/lib/import/otrs/history_spec.rb

17 lines
459 B
Ruby
Raw Permalink Normal View History

2022-01-01 13:38:12 +00:00
# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
require 'rails_helper'
require 'lib/import/otrs/history_examples'
RSpec.describe Import::OTRS::History do
let(:start_import_test) { described_class.new(object_structure) }
let(:object_structure) { load_history_json('article/default') }
it 'requires an implementation of init_callback' do
expect do
start_import_test
end.to raise_error(RuntimeError)
end
end