From 1ba929b4dd6c96a37c40ed1ee23da801b0c9e9de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Sat, 26 Oct 2019 01:17:07 +0200 Subject: [PATCH] Apply Style/MethodDefParentheses rubocop rule This is an obvious one, but there was one place where we weren't following it. --- .rubocop.yml | 3 +++ spec/features/admin/legislation/processes_spec.rb | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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"