Do not show the Evaluate link when there are no projects to evaluate for current valuator

This commit is contained in:
Senén Rodero Rodríguez
2023-01-13 13:51:32 +01:00
parent 615b249144
commit 0c09fd22af
4 changed files with 33 additions and 7 deletions

View File

@@ -1567,6 +1567,7 @@ describe "Admin budget investments", :admin do
end
scenario "Shows the correct investments to valuators" do
budget.update!(phase: :valuating)
investment1.update!(visible_to_valuators: true)
investment2.update!(visible_to_valuators: false)