add admin setting for default search engine indexing (fix #11750) (#11804)

This commit is contained in:
Tao Bror Bojlén authored and Eugen Rochko committed 2019-09-11 08:44:58 +02:00
1 parent 4faaa5b25e
commit 4fe127664b
5 files changed
+10

No files matched your search

@@ -110,6 +110,7 @@ describe ApplicationController, type: :controller do
sign_in current_user
allow(Setting).to receive(:[]).with('theme').and_return 'contrast'
allow(Setting).to receive(:[]).with('noindex').and_return false
expect(controller.view_context.current_theme).to eq 'contrast'
end