summaryrefslogtreecommitdiff
path: root/spec/support/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/helpers')
-rw-r--r--spec/support/helpers/jira_service_helper.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/spec/support/helpers/jira_service_helper.rb b/spec/support/helpers/jira_service_helper.rb
index c23a8d52c84..57c33c81ea3 100644
--- a/spec/support/helpers/jira_service_helper.rb
+++ b/spec/support/helpers/jira_service_helper.rb
@@ -5,16 +5,16 @@ module JiraServiceHelper
JIRA_API = JIRA_URL + "/rest/api/2"
def jira_service_settings
- title = "Jira tracker"
- url = JIRA_URL
- username = 'jira-user'
- password = 'my-secret-password'
- jira_issue_transition_id = '1'
+ properties = {
+ title: "Jira tracker",
+ url: JIRA_URL,
+ username: 'jira-user',
+ password: 'my-secret-password',
+ project_key: "JIRA",
+ jira_issue_transition_id: '1'
+ }
- jira_tracker.update(
- title: title, url: url, username: username, password: password,
- jira_issue_transition_id: jira_issue_transition_id, active: true
- )
+ jira_tracker.update(properties: properties, active: true)
end
def jira_issue_comments