Increase budget factory with publishing_price trait & description value

This commit is contained in:
Bertocq
2018-01-10 01:12:11 +01:00
parent 6772f94c14
commit 3bc683edce

View File

@@ -228,6 +228,7 @@ FactoryBot.define do
description_reviewing "This budget is reviewing"
description_selecting "This budget is selecting"
description_valuating "This budget is valuating"
description_publishing_prices "This budget is publishing prices"
description_balloting "This budget is balloting"
description_reviewing_ballots "This budget is reviewing ballots"
description_finished "This budget is finished"
@@ -252,6 +253,10 @@ FactoryBot.define do
phase 'valuating'
end
trait :publishing_prices do
phase 'publishing_prices'
end
trait :balloting do
phase 'balloting'
end
@@ -313,7 +318,6 @@ FactoryBot.define do
selected true
feasibility "feasible"
valuation_finished true
end
trait :winner do