Remove backlog lists from factories
This commit is contained in:
parent
158173a126
commit
a3edd5f1fd
2 changed files with 0 additions and 7 deletions
|
@ -3,7 +3,6 @@ FactoryGirl.define do
|
||||||
project factory: :empty_project
|
project factory: :empty_project
|
||||||
|
|
||||||
after(:create) do |board|
|
after(:create) do |board|
|
||||||
board.lists.create(list_type: :backlog)
|
|
||||||
board.lists.create(list_type: :done)
|
board.lists.create(list_type: :done)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -6,12 +6,6 @@ FactoryGirl.define do
|
||||||
sequence(:position)
|
sequence(:position)
|
||||||
end
|
end
|
||||||
|
|
||||||
factory :backlog_list, parent: :list do
|
|
||||||
list_type :backlog
|
|
||||||
label nil
|
|
||||||
position nil
|
|
||||||
end
|
|
||||||
|
|
||||||
factory :done_list, parent: :list do
|
factory :done_list, parent: :list do
|
||||||
list_type :done
|
list_type :done
|
||||||
label nil
|
label nil
|
||||||
|
|
Loading…
Reference in a new issue