1448, fix lint issues
This commit is contained in:
parent
6d1a8c92ec
commit
ac3dc12ee3
|
@ -35,9 +35,9 @@ describe SocialHelper, type: :helper do
|
||||||
subject { answer_copy_content(answer) }
|
subject { answer_copy_content(answer) }
|
||||||
|
|
||||||
it "returns a formatted content to copy" do
|
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
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue