From 3f6a36168fd74e932a301923ea3805c1e848d66e Mon Sep 17 00:00:00 2001 From: Claire Date: Mon, 24 Jan 2022 21:36:22 +0100 Subject: [PATCH] Fix tests --- spec/views/about/show.html.haml_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/views/about/show.html.haml_spec.rb b/spec/views/about/show.html.haml_spec.rb index d608bbf5d3f..12c96ea4910 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