diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-07-28 19:26:16 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-17 12:58:57 -0300 |
commit | b07c5f23b8761ae87d29ded1a69b14ae6393443a (patch) | |
tree | ec6d9812ae818c282480ef930c971462a203560f /spec/factories | |
parent | 35420cec0bf511af662e09cbd8664720c58fa187 (diff) | |
download | gitlab-ce-b07c5f23b8761ae87d29ded1a69b14ae6393443a.tar.gz |
Order board lists by list_type, and position
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/lists.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/factories/lists.rb b/spec/factories/lists.rb index bef161d2a7e..7b41361500c 100644 --- a/spec/factories/lists.rb +++ b/spec/factories/lists.rb @@ -2,18 +2,22 @@ FactoryGirl.define do factory :list do board label - sequence(:position) end factory :backlog_list, parent: :list do list_type :backlog + label nil + position nil end factory :label_list, parent: :list do list_type :label + sequence(:position) end factory :done_list, parent: :list do list_type :done + label nil + position nil end end |