Commit 404950f1 authored by Walmyr Lima's avatar Walmyr Lima

Update issue resource to allow for adding weight

parent fce0bf4a
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment