diff options
author | Walmyr <walmyr@gitlab.com> | 2019-07-05 18:09:17 +0000 |
---|---|---|
committer | Walmyr <walmyr@gitlab.com> | 2019-07-05 18:09:17 +0000 |
commit | 10b307083ca86673ac48fe0243ab80222b1fbd4c (patch) | |
tree | e00f33bbc94fbd825efbf33b93474543039005cf | |
parent | 50441577f0d24fe66ad1d59879f10315b54946c4 (diff) | |
parent | d23a654fc5fa1a3c36538b8f0206e34a549689aa (diff) | |
download | gitlab-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
-rw-r--r-- | qa/qa/resource/issue.rb | 6 |
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 |