diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2017-01-27 03:27:15 -0200 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2017-02-03 17:02:43 +0300 |
commit | a3edd5f1fd154865bfe014d628844796090998e5 (patch) | |
tree | 4649d80643a555b25134de0b10c1f64c06dbf324 /spec | |
parent | 158173a126bcb73af3b2d8b16f767a404c7b91a5 (diff) | |
download | gitlab-ce-a3edd5f1fd154865bfe014d628844796090998e5.tar.gz |
Remove backlog lists from factories
Diffstat (limited to 'spec')
-rw-r--r-- | spec/factories/boards.rb | 1 | ||||
-rw-r--r-- | spec/factories/lists.rb | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/spec/factories/boards.rb b/spec/factories/boards.rb index ec46146d9b5..a581725245a 100644 --- a/spec/factories/boards.rb +++ b/spec/factories/boards.rb @@ -3,7 +3,6 @@ FactoryGirl.define do project factory: :empty_project after(:create) do |board| - board.lists.create(list_type: :backlog) board.lists.create(list_type: :done) end end diff --git a/spec/factories/lists.rb b/spec/factories/lists.rb index 9e3f06c682c..2a2f3cca91c 100644 --- a/spec/factories/lists.rb +++ b/spec/factories/lists.rb @@ -6,12 +6,6 @@ FactoryGirl.define do sequence(:position) end - factory :backlog_list, parent: :list do - list_type :backlog - label nil - position nil - end - factory :done_list, parent: :list do list_type :done label nil |