Cleanup (remove unnecessary code)
This commit is contained in:
@@ -20,10 +20,6 @@ feature "Admin legislation questions" do
|
||||
Setting["feature.legislation"] = nil
|
||||
end
|
||||
|
||||
after do
|
||||
Setting["feature.legislation"] = true
|
||||
end
|
||||
|
||||
scenario "Disabled with a feature flag" do
|
||||
expect{ visit admin_legislation_process_questions_path(process) }.to raise_exception(FeatureFlags::FeatureDisabled)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user