Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-10-05 12:09:10 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-10-05 12:09:10 +0300
commit187727e24865494570a0d0e162a9f44e721aacde (patch)
treedc0467d2ed463e7339f6873f9a23844bb70b79e5 /spec/lib/gitlab/closing_issue_extractor_spec.rb
parentb4d76c5ac78ec9f690e2094fbf5f77331b9432c8 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/closing_issue_extractor_spec.rb')
-rw-r--r--spec/lib/gitlab/closing_issue_extractor_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/closing_issue_extractor_spec.rb b/spec/lib/gitlab/closing_issue_extractor_spec.rb
index 1422f83c629..8539f8e9ba1 100644
--- a/spec/lib/gitlab/closing_issue_extractor_spec.rb
+++ b/spec/lib/gitlab/closing_issue_extractor_spec.rb
@@ -298,7 +298,7 @@ RSpec.describe Gitlab::ClosingIssueExtractor do
context 'with an external issue tracker reference' do
it 'extracts the referenced issue' do
- jira_project = create(:jira_project, name: 'JIRA_EXT1')
+ jira_project = create(:project, :with_jira_integration, name: 'JIRA_EXT1')
jira_project.add_maintainer(jira_project.creator)
jira_issue = ExternalIssue.new("#{jira_project.name}-1", project: jira_project)
closing_issue_extractor = described_class.new(jira_project, jira_project.creator)