Add unfinished trait to investment factories

Now the code is symmetrical since we also use `finished`.
This commit is contained in:
Javi Martín
2019-09-21 14:59:26 +02:00
parent 53fa527118
commit 24e8f07dae
4 changed files with 7 additions and 6 deletions

View File

@@ -346,7 +346,7 @@ describe "Admin budget investments" do
valuator = create(:valuator, user: user)
create(:budget_investment,
:with_administrator,
valuation_finished: false,
:unfinished,
title: "Investment without valuation",
budget: budget,
valuators: [valuator])