From ac3dc12ee3041bf76efc7fab19f675d90603a3ae Mon Sep 17 00:00:00 2001 From: Ahmed Ejaz Date: Sun, 12 Nov 2023 03:15:43 +0500 Subject: [PATCH] 1448, fix lint issues --- spec/helpers/social_helper_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/helpers/social_helper_spec.rb b/spec/helpers/social_helper_spec.rb index 7583e0de..8b2fd443 100644 --- a/spec/helpers/social_helper_spec.rb +++ b/spec/helpers/social_helper_spec.rb @@ -35,9 +35,9 @@ describe SocialHelper, type: :helper do subject { answer_copy_content(answer) } it "returns a formatted content to copy" do - expectedContent = "#{answer.question.content} - #{answer.content} [https://example.com/@#{answer.user.screen_name}/a/#{answer.id}]" + expected_content = "#{answer.question.content} - #{answer.content} [https://example.com/@#{answer.user.screen_name}/a/#{answer.id}]" - expect(subject).to eq(expectedContent) + expect(subject).to eq(expected_content) end end end