Apply Style/HashSyntax rubocop rule

We were already using it almost everywhere.
This commit is contained in:
Javi Martín
2019-10-26 01:04:57 +02:00
parent 70da5a3801
commit b5eeb3f32f
7 changed files with 18 additions and 15 deletions

View File

@@ -276,8 +276,8 @@ describe "Valuation budget investments" do
expect(page).to have_content("Create progress bar")
select("Primary", :from => "Type")
fill_in("Current progress", :with => 50)
select("Primary", from: "Type")
fill_in("Current progress", with: 50)
click_button "Create Progress bar"
@@ -295,9 +295,9 @@ describe "Valuation budget investments" do
expect(page).to have_content("Create progress bar")
select("Secondary", :from => "Type")
fill_in("Title", :with => "secondary_progress_bar")
fill_in("Current progress", :with => 50)
select("Secondary", from: "Type")
fill_in("Title", with: "secondary_progress_bar")
fill_in("Current progress", with: 50)
click_button "Create Progress bar"
@@ -340,7 +340,7 @@ describe "Valuation budget investments" do
page.find("#progress_bar_#{secondary_progress_bar.id}").click_link("Edit")
fill_in("Title", :with => "edited")
fill_in("Title", with: "edited")
click_button "Update Progress bar"
expect(page).to have_content("Progress bars")