Add show results and stats form to budgets

This commit is contained in:
Javi Martín
2019-04-24 14:18:19 +02:00
parent e3d6dbacab
commit 4f4dc2c2af
17 changed files with 73 additions and 26 deletions

View File

@@ -522,7 +522,7 @@ feature "Budget Investments" do
context "Results Phase" do
before { budget.update(phase: "finished") }
before { budget.update(phase: "finished", results_enabled: true) }
scenario "show winners by default" do
investment1 = create(:budget_investment, :winner, heading: heading)