Commit d23a654f authored by Mark Lapierre's avatar Mark Lapierre

Initialize Issue labels

This provides a valid default value when labels are
not specified explicitly.
parent 01fea14f
......@@ -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
......
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