history_spec.rb 382 B

1234567891011121314
  1. require 'rails_helper'
  2. require 'lib/import/otrs/history_examples'
  3. RSpec.describe Import::OTRS::History do
  4. let(:start_import_test) { described_class.new(object_structure) }
  5. let(:object_structure) { load_history_json('article/default') }
  6. it 'requires an implementation of init_callback' do
  7. expect do
  8. start_import_test
  9. end.to raise_error(RuntimeError)
  10. end
  11. end