summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-05-31 15:34:02 +0100
committerPhil Hughes <me@iamphill.com>2017-05-31 15:34:02 +0100
commit285049b91b59c846a668602b797f9b75709c6f63 (patch)
tree97d3c2b7e69c7814b1c714c78d58cd1bbbb8c2c4 /spec/factories
parentf452c1aa7ddb13958502422769dc20a9a8e160fa (diff)
downloadgitlab-ce-285049b91b59c846a668602b797f9b75709c6f63.tar.gz
spec updates
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/lists.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/factories/lists.rb b/spec/factories/lists.rb
index f6a78811cbe..48142d3c49b 100644
--- a/spec/factories/lists.rb
+++ b/spec/factories/lists.rb
@@ -6,6 +6,12 @@ FactoryGirl.define do
sequence(:position)
end
+ factory :backlog_list, parent: :list do
+ list_type :backlog
+ label nil
+ position nil
+ end
+
factory :closed_list, parent: :list do
list_type :closed
label nil