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

@@ -4,7 +4,7 @@ describe "Images", :admin do
it_behaves_like "nested imageable",
"poll_question_answer",
"new_admin_answer_image_path",
{ "answer_id": "id" },
{ answer_id: "id" },
nil,
"Save image",
"Image uploaded successfully",