blob: 95f3f78310f5036c5808196ad0cbb73aee0c50f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe BulkImports::FileDownloads::Validations, feature_category: :importers do
let(:dummy_instance) { dummy_class.new }
let(:dummy_class) do
Class.new do
include BulkImports::FileDownloads::Validations
end
end
describe '#raise_error' do
it { expect { dummy_instance.raise_error('text') }.to raise_exception(NotImplementedError) }
end
describe '#filepath' do
it { expect { dummy_instance.filepath }.to raise_exception(NotImplementedError) }
end
describe '#response_headers' do
it { expect { dummy_instance.response_headers }.to raise_exception(NotImplementedError) }
end
describe '#file_size_limit' do
it { expect { dummy_instance.file_size_limit }.to raise_exception(NotImplementedError) }
end
end
|