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

services_data.rb « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c62fff2af558979cd367cebc354ca0c1abb1c08e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# frozen_string_literal: true

# these factories should never be called directly, they are used when creating services
FactoryBot.define do
  factory :jira_tracker_data do
    service
  end

  factory :issue_tracker_data do
    service
  end

  factory :open_project_tracker_data do
    service
    url { 'http://openproject.example.com'}
    token { 'supersecret' }
    project_identifier_code { 'PRJ-1' }
    closed_status_id { '15' }
  end
end