debian-mirror-gitlab/spec/factories/services_data.rb
2019-09-04 21:01:54 +05:30

18 lines
434 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :jira_tracker_data do
service
url 'http://jira.example.com'
api_url 'http://api-jira.example.com'
username 'jira_username'
password 'jira_password'
end
factory :issue_tracker_data do
service
project_url 'http://issuetracker.example.com'
issues_url 'http://issues.example.com'
new_issue_url 'http://new-issue.example.com'
end
end