Commit e9846c9d authored by Igor Drozdov's avatar Igor Drozdov

Fix 2.7 warning for elastic/multi_version_util.rb

parent f6f171cb
......@@ -31,7 +31,7 @@ RSpec.describe Elasticsearch::Model::Adapter::ActiveRecord::Records, :elastic do
end
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,
@middle_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