Commit a971b7cb authored by Walmyr Lima's avatar Walmyr Lima

Allow issue fabrication with milestone

parent bb152242
......@@ -3,7 +3,7 @@
module QA
module Resource
class Issue < Base
attr_writer :description
attr_writer :description, :milestone
attribute :project do
Project.fabricate! do |resource|
......@@ -44,7 +44,9 @@ module QA
{
labels: labels,
title: title
}
}.tap do |hash|
hash[:milestone_id] = @milestone.id if @milestone
end
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