Commit 501c6240 authored by Jan Provaznik's avatar Jan Provaznik

Merge branch 'id-fix-elastic-2-7-warning' into 'master'

Fix 2.7 warning for elastic/multi_version_util.rb

See merge request gitlab-org/gitlab!51213
parents 4f7ae18a e9846c9d
...@@ -31,7 +31,7 @@ RSpec.describe Elasticsearch::Model::Adapter::ActiveRecord::Records, :elastic do ...@@ -31,7 +31,7 @@ RSpec.describe Elasticsearch::Model::Adapter::ActiveRecord::Records, :elastic do
end end
it 'returns results in the same sorted order as they come back from Elasticsearch' do it 'returns results in the same sorted order as they come back from Elasticsearch' do
expect(Issue.elastic_search('make sorting better', search_options).records.to_a).to eq([ expect(Issue.elastic_search('make sorting better', **search_options).records.to_a).to eq([
@most_relevant, @most_relevant,
@middle_relevant, @middle_relevant,
@least_relevant @least_relevant
......
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