From fb73ce05db20603bc75ecc21089e2b286eb4a0ab Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Fri, 22 Jul 2022 23:47:08 +0200 Subject: [PATCH] Appease the dog overlords --- spec/helpers/social_helper/tumblr_methods_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/helpers/social_helper/tumblr_methods_spec.rb b/spec/helpers/social_helper/tumblr_methods_spec.rb index 1d6ca005..512a35e7 100644 --- a/spec/helpers/social_helper/tumblr_methods_spec.rb +++ b/spec/helpers/social_helper/tumblr_methods_spec.rb @@ -54,7 +54,7 @@ describe SocialHelper::TumblrMethods, :type => :helper do subject { tumblr_share_url(answer) } 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