trabajo-afectivo/spec/import/otrs/state_factory_spec.rb

12 lines
317 B
Ruby
Raw Normal View History

require 'rails_helper'
require 'import/transaction_factory_examples'
RSpec.describe Import::OTRS::StateFactory do
it_behaves_like 'Import::TransactionFactory'
it 'creates a state backup in the pre_import_hook' do
expect(described_class).to receive(:backup)
described_class.pre_import_hook([])
end
end