Appease the dog overlords

This commit is contained in:
Karina Kwiatek 2022-07-22 23:47:08 +02:00 committed by Karina Kwiatek
parent 5f60d86efe
commit fb73ce05db
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ describe SocialHelper::TumblrMethods, :type => :helper do
subject { tumblr_share_url(answer) } subject { tumblr_share_url(answer) }
it 'should return a proper share link' do it 'should return a proper share link' do
expect(subject).to eq("https://www.tumblr.com/widgets/share/tool?shareSource=legacy&posttype=text&title=#{CGI.escape(tumblr_title(answer))}&url=#{CGI.escape("https://example.com/@#{answer.user.screen_name}/a/#{answer.id}")}&caption=&content=#{CGI.escape(tumblr_body(answer))}") expect(subject).to eq("https://www.tumblr.com/widgets/share/tool?shareSource=legacy&posttype=text&title=#{CGI.escape(tumblr_title(answer))}&url=#{CGI.escape("https://example.com/@#{answer.user.screen_name}/a/#{answer.id}")}&caption=&content=#{CGI.escape(tumblr_body(answer))}")
end end
end end
end end