diff options
author | Tao Bror Bojlén <brortao@users.noreply.github.com> | 2019-09-11 07:44:58 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-09-11 08:44:58 +0200 |
commit | 4fe127664b0ae22a528b4a4467ab2de92e3da3ef (patch) | |
tree | b285f6995811b10e198201b7694b60e80f93f7b8 /spec | |
parent | 4faaa5b25e54f863fdf3a68edc5ca664e5a84e4c (diff) |
add admin setting for default search engine indexing (fix #11750) (#11804)
Diffstat (limited to 'spec')
-rw-r--r-- | spec/controllers/application_controller_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/controllers/application_controller_spec.rb b/spec/controllers/application_controller_spec.rb index 1811500df..da4a794cd 100644 --- a/spec/controllers/application_controller_spec.rb +++ b/spec/controllers/application_controller_spec.rb @@ -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 |