Commit b9764820 authored by Mario de la Ossa's avatar Mario de la Ossa

Add missing `stub_ee_application_settings` change to ES specs

parent a38a799f
......@@ -35,13 +35,13 @@ describe API::Search do
shared_examples 'elasticsearch enabled' do
before do
stub_application_setting(elasticsearch_search: true, elasticsearch_indexing: true)
stub_ee_application_setting(elasticsearch_search: true, elasticsearch_indexing: true)
Gitlab::Elastic::Helper.create_empty_index
end
after do
Gitlab::Elastic::Helper.delete_index
stub_application_setting(elasticsearch_search: false, elasticsearch_indexing: false)
stub_ee_application_setting(elasticsearch_search: false, elasticsearch_indexing: false)
end
context 'for wiki_blobs scope' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment