Commit 776ddb95 authored by Sean Arnold's avatar Sean Arnold

Fix issue specs

parent 4ed23ba8
...@@ -32,6 +32,7 @@ Issue: ...@@ -32,6 +32,7 @@ Issue:
- discussion_locked - discussion_locked
- health_status - health_status
- external_key - external_key
- issue_type
Event: Event:
- id - id
- target_type - target_type
......
...@@ -24,7 +24,8 @@ RSpec.describe Gitlab::JiraImport::ImportIssueWorker do ...@@ -24,7 +24,8 @@ RSpec.describe Gitlab::JiraImport::ImportIssueWorker do
build(:issue, project_id: project.id, title: 'jira issue') build(:issue, project_id: project.id, title: 'jira issue')
.as_json.merge( .as_json.merge(
'label_ids' => [jira_issue_label_1.id, jira_issue_label_2.id], 'assignee_ids' => assignee_ids 'label_ids' => [jira_issue_label_1.id, jira_issue_label_2.id], 'assignee_ids' => assignee_ids
).compact ).except('issue_type')
.compact
end end
context 'when any exception raised while inserting to DB' do context 'when any exception raised while inserting to DB' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment