about summary refs log tree commit diff
path: root/spec/views
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-03-03 16:14:44 +0100
committerGitHub <noreply@github.com>2022-03-03 16:14:44 +0100
commit6d3fa7828ea3cddc267f19634d7bc5d917e62be8 (patch)
tree955dd8c4eb4b441756780f54892505326dae1728 /spec/views
parentff43e54a495461eb1a539a1887125190b74754f5 (diff)
Redesign /about when already logged in (#17348)
* Redesign /about when already logged in

* Fix sign up form still showing when OMNIAUTH_ONLY is set

* Fix tests

* Change wording based on suggestions

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Diffstat (limited to 'spec/views')
-rw-r--r--spec/views/about/show.html.haml_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/views/about/show.html.haml_spec.rb b/spec/views/about/show.html.haml_spec.rb
index 1c2f5eee9..4eab97da9 100644
--- a/spec/views/about/show.html.haml_spec.rb
+++ b/spec/views/about/show.html.haml_spec.rb
@@ -8,6 +8,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(:current_account).and_return(nil)
   end
 
   it 'has valid open graph tags' do