Merge pull request #4558 from consul/featured_disabled

Respond with 403 when features are disabled
This commit is contained in:
Javi Martín
2021-06-17 15:39:12 +02:00
committed by GitHub
3 changed files with 46 additions and 2 deletions

View File

@@ -36,12 +36,12 @@ describe "Admin feature flags", :admin do
visit budget_path(budget)
expect(page).to have_content "Internal server error"
expect(page).to have_title "Forbidden"
visit admin_budgets_path
expect(page).to have_current_path admin_budgets_path
expect(page).to have_content "Internal server error"
expect(page).to have_title "Forbidden"
end
scenario "Enable a disabled participatory process" do