Add setting to allow remove investments supports

This commit is contained in:
decabeza
2021-11-06 00:38:02 +01:00
committed by Javi Martín
parent 1a73b20d9b
commit 9979b53994
12 changed files with 74 additions and 13 deletions

View File

@@ -1230,6 +1230,7 @@ describe "Budget Investments" do
end
scenario "Remove a support from show view" do
Setting["feature.remove_investments_supports"] = true
investment = create(:budget_investment, budget: budget)
login_as(author)
@@ -1251,6 +1252,7 @@ describe "Budget Investments" do
end
scenario "Remove a support from index view" do
Setting["feature.remove_investments_supports"] = true
investment = create(:budget_investment, budget: budget)
login_as(author)