summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorWalmyr <walmyr@gitlab.com>2019-07-05 18:09:17 +0000
committerWalmyr <walmyr@gitlab.com>2019-07-05 18:09:17 +0000
commit10b307083ca86673ac48fe0243ab80222b1fbd4c (patch)
treee00f33bbc94fbd825efbf33b93474543039005cf /qa
parent50441577f0d24fe66ad1d59879f10315b54946c4 (diff)
parentd23a654fc5fa1a3c36538b8f0206e34a549689aa (diff)
downloadgitlab-ce-10b307083ca86673ac48fe0243ab80222b1fbd4c.tar.gz
Merge branch 'qa-fix-issue-resource' into 'master'
Fix failing e2e tests - initialize Issue labels See merge request gitlab-org/gitlab-ce!30375
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/resource/issue.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/qa/qa/resource/issue.rb b/qa/qa/resource/issue.rb
index 9c57a0f5afb..51b2af8b4ef 100644
--- a/qa/qa/resource/issue.rb
+++ b/qa/qa/resource/issue.rb
@@ -16,6 +16,10 @@ module QA
attribute :labels
attribute :title
+ def initialize
+ @labels = []
+ end
+
def fabricate!
project.visit!
@@ -38,7 +42,7 @@ module QA
def api_post_body
{
- labels: [labels],
+ labels: labels,
title: title
}
end