Makes the selected trait also mark projects feasible and valuation_finished

This commit is contained in:
kikito
2016-12-24 14:43:12 +01:00
parent 03ef20bfde
commit 8e4bd43069

View File

@@ -248,11 +248,13 @@ FactoryGirl.define do
unfeasibility_explanation "set to unfeasible on creation"
end
trait :selected do
selected true
trait :finished do
valuation_finished true
end
trait :finished do
trait :selected do
selected true
feasibility "feasible"
valuation_finished true
end
end