]> cat aescling's git repositories - mastodon.git/commitdiff
Fix tests
authorClaire <claire.github-309c@sitedethib.com>
Mon, 24 Jan 2022 20:36:22 +0000 (21:36 +0100)
committerClaire <claire.github-309c@sitedethib.com>
Mon, 24 Jan 2022 20:36:22 +0000 (21:36 +0100)
spec/views/about/show.html.haml_spec.rb

index d608bbf5d3f5642af69a1b701615b9edbcaa2564..12c96ea4910630366cff43290e053a872eeeb277 100644 (file)
@@ -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