Apply Style/MethodDefParentheses rubocop rule

This is an obvious one, but there was one place where we weren't
following it.
This commit is contained in:
Javi Martín
2019-10-26 01:17:07 +02:00
parent 01fe31c5e3
commit 1ba929b4dd
2 changed files with 4 additions and 1 deletions

View File

@@ -388,6 +388,9 @@ Style/HashSyntax:
Style/IdenticalConditionalBranches:
Enabled: true
Style/MethodDefParentheses:
Enabled: true
Style/Not:
Enabled: true

View File

@@ -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"