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 ...@@ -16,6 +16,10 @@ module QA
attribute :labels attribute :labels
attribute :title attribute :title
def initialize
@labels = []
end
def fabricate! def fabricate!
project.visit! project.visit!
...@@ -38,7 +42,7 @@ module QA ...@@ -38,7 +42,7 @@ module QA
def api_post_body def api_post_body
{ {
labels: [labels], labels: labels,
title: title title: title
} }
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