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:
authorSean McGivern <sean@gitlab.com>2019-02-26 18:06:29 +0300
committerSean McGivern <sean@gitlab.com>2019-02-26 18:06:29 +0300
commitf26cd63b0f7e9acc29a72d81ad2ed327ac93b816 (patch)
treece020410597306f75bc85f21ea9747a513301495 /spec/factories
parentb770a70ab803d9b019a8b73828e353ac097c5083 (diff)
parent1d388205d52f129bda6890edf3f3fa95d4d63b7c (diff)
Merge branch 'add_YouTrack_integration' into 'master'
Added YouTrack integration Closes #42595 See merge request gitlab-org/gitlab-ce!25361
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/projects.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/spec/factories/projects.rb b/spec/factories/projects.rb
index f7ef34d773b..30d3b22d868 100644
--- a/spec/factories/projects.rb
+++ b/spec/factories/projects.rb
@@ -313,6 +313,20 @@ FactoryBot.define do
end
end
+ factory :youtrack_project, parent: :project do
+ has_external_issue_tracker true
+
+ after :create do |project|
+ project.create_youtrack_service(
+ active: true,
+ properties: {
+ 'project_url' => 'http://youtrack/projects/project_guid_in_youtrack',
+ 'issues_url' => 'http://youtrack/issues/:id'
+ }
+ )
+ end
+ end
+
factory :jira_project, parent: :project do
has_external_issue_tracker true
jira_service