summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2017-10-24 12:17:41 +0300
committerRobert Schilling <rschilling@student.tugraz.at>2017-10-24 12:17:41 +0300
commit50aa340e374ac07dea82f99f39f2d0fff9b1175d (patch)
treea3e59be3ff4ad879c70488be14c7f829511a318d /spec
parent4fa8df677785b1945f6513ac8596637f1aa65b88 (diff)
downloadgitlab-ce-50aa340e374ac07dea82f99f39f2d0fff9b1175d.tar.gz
Factories need to set required attributes
Diffstat (limited to 'spec')
-rw-r--r--spec/factories/services.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/factories/services.rb b/spec/factories/services.rb
index c2674ce2d11..ccf63f3ffa4 100644
--- a/spec/factories/services.rb
+++ b/spec/factories/services.rb
@@ -38,6 +38,8 @@ FactoryGirl.define do
active true
properties(
url: 'https://jira.example.com',
+ username: 'jira_user',
+ password: 'my-secret-password',
project_key: 'jira-key'
)
end