Add rubocop spacing rules
We were following these rules in most places; we just didn't define them anywhere.
This commit is contained in:
@@ -18,7 +18,7 @@ describe "Admin legislation draft versions" do
|
||||
scenario "Disabled with a feature flag" do
|
||||
Setting["process.legislation"] = nil
|
||||
process = create(:legislation_process)
|
||||
expect{ visit admin_legislation_process_draft_versions_path(process) }.to raise_exception(FeatureFlags::FeatureDisabled)
|
||||
expect { visit admin_legislation_process_draft_versions_path(process) }.to raise_exception(FeatureFlags::FeatureDisabled)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@@ -20,7 +20,7 @@ describe "Admin collaborative legislation" do
|
||||
|
||||
scenario "Disabled with a feature flag" do
|
||||
Setting["process.legislation"] = nil
|
||||
expect{ visit admin_legislation_processes_path }
|
||||
expect { visit admin_legislation_processes_path }
|
||||
.to raise_exception(FeatureFlags::FeatureDisabled)
|
||||
end
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ describe "Admin legislation questions" do
|
||||
end
|
||||
|
||||
scenario "Disabled with a feature flag" do
|
||||
expect{ visit admin_legislation_process_questions_path(process) }.to raise_exception(FeatureFlags::FeatureDisabled)
|
||||
expect { visit admin_legislation_process_questions_path(process) }.to raise_exception(FeatureFlags::FeatureDisabled)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user