diff --git a/.rubocop.yml b/.rubocop.yml index efd000ccb..664911bc8 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -388,6 +388,9 @@ Style/HashSyntax: Style/IdenticalConditionalBranches: Enabled: true +Style/MethodDefParentheses: + Enabled: true + Style/Not: Enabled: true diff --git a/spec/features/admin/legislation/processes_spec.rb b/spec/features/admin/legislation/processes_spec.rb index 04d271bd9..4e9eae9af 100644 --- a/spec/features/admin/legislation/processes_spec.rb +++ b/spec/features/admin/legislation/processes_spec.rb @@ -157,7 +157,7 @@ describe "Admin collaborative legislation" do end scenario "Create a legislation process with an image", :js do - visit new_admin_legislation_process_path() + visit new_admin_legislation_process_path fill_in "Process Title", with: "An example legislation process" fill_in "Summary", with: "Summary of the process"