blob: 41fe5fbdbbd339ecf08f5abe3b8ffb2975e6c3d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Gitlab::GithubImport::Importer::Events::BaseImporter do
let(:project) { instance_double('Project') }
let(:client) { instance_double('Gitlab::GithubImport::Client') }
let(:issue_event) { instance_double('Gitlab::GithubImport::Representation::IssueEvent') }
let(:importer_class) { Class.new(described_class) }
let(:importer_instance) { importer_class.new(project, client) }
describe '#execute' do
it { expect { importer_instance.execute(issue_event) }.to raise_error(NotImplementedError) }
end
end
|