diff options
Diffstat (limited to 'spec/lib/gitlab/jira_import')
-rw-r--r-- | spec/lib/gitlab/jira_import/base_importer_spec.rb | 1 | ||||
-rw-r--r-- | spec/lib/gitlab/jira_import/handle_labels_service_spec.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/spec/lib/gitlab/jira_import/base_importer_spec.rb b/spec/lib/gitlab/jira_import/base_importer_spec.rb index 1470bad2c4c..9d8143775f9 100644 --- a/spec/lib/gitlab/jira_import/base_importer_spec.rb +++ b/spec/lib/gitlab/jira_import/base_importer_spec.rb @@ -27,6 +27,7 @@ RSpec.describe Gitlab::JiraImport::BaseImporter do context 'when import data exists' do let_it_be(:project) { create(:project) } let_it_be(:jira_import) { create(:jira_import_state, project: project) } + let(:subject) { described_class.new(project) } context 'when #imported_items_cache_key is not implemented' do diff --git a/spec/lib/gitlab/jira_import/handle_labels_service_spec.rb b/spec/lib/gitlab/jira_import/handle_labels_service_spec.rb index 4e2c5afb077..b8c0dc64581 100644 --- a/spec/lib/gitlab/jira_import/handle_labels_service_spec.rb +++ b/spec/lib/gitlab/jira_import/handle_labels_service_spec.rb @@ -10,6 +10,7 @@ RSpec.describe Gitlab::JiraImport::HandleLabelsService do let_it_be(:project_label) { create(:label, project: project, title: 'bug') } let_it_be(:other_project_label) { create(:label, title: 'feature') } let_it_be(:group_label) { create(:group_label, group: group, title: 'dev') } + let(:jira_labels) { %w(bug feature dev group::new) } subject { described_class.new(project, jira_labels).execute } |