Add new settings tab for participation processes
- Rename setting keys - New tab por participation processes - Hide these settings from features tab
This commit is contained in:
@@ -16,7 +16,7 @@ feature "Admin legislation draft versions" do
|
||||
context "Feature flag" do
|
||||
|
||||
scenario "Disabled with a feature flag" do
|
||||
Setting["feature.legislation"] = nil
|
||||
Setting["process.legislation"] = nil
|
||||
process = create(:legislation_process)
|
||||
expect{ visit admin_legislation_process_draft_versions_path(process) }.to raise_exception(FeatureFlags::FeatureDisabled)
|
||||
end
|
||||
|
||||
@@ -19,7 +19,7 @@ feature "Admin collaborative legislation" do
|
||||
context "Feature flag" do
|
||||
|
||||
scenario "Disabled with a feature flag" do
|
||||
Setting["feature.legislation"] = nil
|
||||
Setting["process.legislation"] = nil
|
||||
expect{ visit admin_legislation_processes_path }
|
||||
.to raise_exception(FeatureFlags::FeatureDisabled)
|
||||
end
|
||||
|
||||
@@ -17,7 +17,7 @@ feature "Admin legislation questions" do
|
||||
context "Feature flag" do
|
||||
|
||||
background do
|
||||
Setting["feature.legislation"] = nil
|
||||
Setting["process.legislation"] = nil
|
||||
end
|
||||
|
||||
scenario "Disabled with a feature flag" do
|
||||
|
||||
Reference in New Issue
Block a user