Add and apply Lint/SymbolConversion rubocop rule

This rule was added in Rubocop 1.9.0.

We're excluding the Setting model in order to keep the settings
consistent.
This commit is contained in:
Javi Martín
2021-08-11 17:40:52 +02:00
parent 54cced9296
commit 41a9d17c76
9 changed files with 33 additions and 27 deletions

View File

@@ -11,7 +11,7 @@ describe "Budget Investments" do
"user",
"budget_investment",
"new_management_budget_investment_path",
{ "budget_id": "budget_id" },
{ budget_id: "budget_id" },
"documentable_fill_new_valid_budget_investment",
"Create Investment",
"Investment created successfully.",
@@ -20,7 +20,7 @@ describe "Budget Investments" do
it_behaves_like "nested imageable",
"budget_investment",
"new_management_budget_investment_path",
{ "budget_id": "budget_id" },
{ budget_id: "budget_id" },
"imageable_fill_new_valid_budget_investment",
"Create Investment",
"Investment created successfully.",
@@ -32,7 +32,7 @@ describe "Budget Investments" do
"new_management_budget_investment_path",
"",
"management_budget_investment_path",
{ "budget_id": "budget_id" },
{ budget_id: "budget_id" },
management: true
context "Load" do