From a3edd5f1fd154865bfe014d628844796090998e5 Mon Sep 17 00:00:00 2001 From: Douglas Barbosa Alexandre Date: Fri, 27 Jan 2017 03:27:15 -0200 Subject: [PATCH] Remove backlog lists from factories --- spec/factories/boards.rb | 1 - spec/factories/lists.rb | 6 ------ 2 files changed, 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