summaryrefslogtreecommitdiff
path: root/spec/factories/services_data.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/services_data.rb')
-rw-r--r--spec/factories/services_data.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/spec/factories/services_data.rb b/spec/factories/services_data.rb
new file mode 100644
index 00000000000..387e130a743
--- /dev/null
+++ b/spec/factories/services_data.rb
@@ -0,0 +1,18 @@
+# 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