blob: 78e9a869b8beed488a27b39c44bf4f6686436c1b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# frozen_string_literal: true
require 'rails_helper'
describe Importer::BaseImporter do
describe 'import!' do
let(:pool) { Concurrent::FixedThreadPool.new(5) }
let(:importer) { described_class.new(batch_size: 123, executor: pool) }
it 'raises an error' do
expect { importer.import! }.to raise_error(NotImplementedError)
end
end
end
|