Merge pull request #4558 from consul/featured_disabled
Respond with 403 when features are disabled
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user