1448, fix lint issues

This commit is contained in:
Ahmed Ejaz 2023-11-12 03:15:43 +05:00 committed by Andreas Nedbal
parent 6d1a8c92ec
commit ac3dc12ee3

View file

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