From: Claire Date: Mon, 24 Jan 2022 20:36:22 +0000 (+0100) Subject: Fix tests X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=3f6a36168fd74e932a301923ea3805c1e848d66e;p=mastodon.git Fix tests --- diff --git a/spec/views/about/show.html.haml_spec.rb b/spec/views/about/show.html.haml_spec.rb index d608bbf5d..12c96ea49 100644 --- a/spec/views/about/show.html.haml_spec.rb +++ b/spec/views/about/show.html.haml_spec.rb @@ -10,6 +10,7 @@ describe 'about/show.html.haml', without_verify_partial_doubles: true do allow(view).to receive(:site_title).and_return('example site') allow(view).to receive(:new_user).and_return(User.new) allow(view).to receive(:use_seamless_external_login?).and_return(false) + allow(view).to receive(:render_captcha_if_needed).and_return(nil) end it 'has valid open graph tags' do