1f332ae8da
- create tables for storing issue trackers properties - add model and basic logic & spec
18 lines
434 B
Ruby
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
|