diff options
author | Walmyr Lima <walmyr@gitlab.com> | 2019-09-06 18:10:19 +0200 |
---|---|---|
committer | Walmyr Lima <walmyr@gitlab.com> | 2019-09-06 18:13:45 +0200 |
commit | 404950f1cd40339ff732a2e8ba007ff52adb5be2 (patch) | |
tree | 627e93ac55ca30279ee8344f3cc5b1eb222f3b51 /qa | |
parent | fce0bf4ab7896852df364ebecee50fe0935fb23a (diff) | |
download | gitlab-ce-404950f1cd40339ff732a2e8ba007ff52adb5be2.tar.gz |
Update issue resource to allow for adding weightqa/e2e-tests-for-issue-weights
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/resource/issue.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qa/qa/resource/issue.rb b/qa/qa/resource/issue.rb index 16ab59352f3..8539eaeb337 100644 --- a/qa/qa/resource/issue.rb +++ b/qa/qa/resource/issue.rb @@ -3,7 +3,7 @@ module QA module Resource class Issue < Base - attr_writer :description, :milestone + attr_writer :description, :milestone, :weight attribute :project do Project.fabricate! do |resource| @@ -46,6 +46,7 @@ module QA title: title }.tap do |hash| hash[:milestone_id] = @milestone.id if @milestone + hash[:weight] = @weight if @weight end end end |