gitlab-org--gitlab-foss/spec/factories/services_data.rb
Jarka Košanová 1f332ae8da Create models for issue trackers data
- create tables for storing issue trackers properties
- add model and basic logic & spec
2019-06-13 19:02:13 +02:00

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