spec/lograge_spec.rb in elasticsearch-rails-7.2.1 vs spec/lograge_spec.rb in elasticsearch-rails-8.0.0.pre

- old
+ new

@@ -36,16 +36,17 @@ require 'action_pack' require 'lograge' require 'elasticsearch/rails/lograge' describe 'ActiveSupport::Instrumentation integration' do - before do Elasticsearch::Rails::Lograge::Railtie.run_initializers end it 'customizes the Lograge configuration' do - expect(Elasticsearch::Rails::Lograge::Railtie.initializers - .select { |i| i.name == 'elasticsearch.lograge' } - .first).not_to be_nil + expect( + Elasticsearch::Rails::Lograge::Railtie.initializers + .select { |i| i.name == 'elasticsearch.lograge' } + .first + ).not_to be_nil end end