Commit 50c40a09 authored by Dmitry Gruzd's avatar Dmitry Gruzd

Fix rubocop offences

parent ce1e1ef8
...@@ -8,7 +8,7 @@ describe Elastic::IndexRecordService, :elastic do ...@@ -8,7 +8,7 @@ describe Elastic::IndexRecordService, :elastic do
# Create admin user and search globally to avoid dealing with permissions in # Create admin user and search globally to avoid dealing with permissions in
# these tests # these tests
let(:user) { create(:admin) } let(:user) { create(:admin) }
let(:search_options) { { options: { current_user: user, project_ids: :any }} } let(:search_options) { { options: { current_user: user, project_ids: :any } } }
before do before do
stub_ee_application_setting(elasticsearch_indexing: true) stub_ee_application_setting(elasticsearch_indexing: true)
......
...@@ -8,7 +8,7 @@ describe ElasticIndexerWorker, :elastic do ...@@ -8,7 +8,7 @@ describe ElasticIndexerWorker, :elastic do
# Create admin user and search globally to avoid dealing with permissions in # Create admin user and search globally to avoid dealing with permissions in
# these tests # these tests
let(:user) { create(:admin) } let(:user) { create(:admin) }
let(:search_options) { { options: { current_user: user, project_ids: :any }} } let(:search_options) { { options: { current_user: user, project_ids: :any } } }
before do before do
stub_ee_application_setting(elasticsearch_indexing: true) stub_ee_application_setting(elasticsearch_indexing: true)
......
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