Fix tests
This commit is contained in:
parent
04050fbd46
commit
3f6a36168f
|
@ -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(:site_title).and_return('example site')
|
||||||
allow(view).to receive(:new_user).and_return(User.new)
|
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(:use_seamless_external_login?).and_return(false)
|
||||||
|
allow(view).to receive(:render_captcha_if_needed).and_return(nil)
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'has valid open graph tags' do
|
it 'has valid open graph tags' do
|
||||||
|
|
Loading…
Reference in New Issue