Commit 3676ff81 authored by Stan Hu's avatar Stan Hu

Merge branch 'tchu-fix-2.7-warnings-for-git_instance_proxy_spec' into 'master'

Fix Ruby 2.7 warnings for git_instance_proxy_spec.rb

See merge request gitlab-org/gitlab!44195
parents 69a8ddf9 ba0359cb
......@@ -39,7 +39,7 @@ RSpec.describe Elastic::Latest::GitInstanceProxy do
expect(subject.class).to receive(:elastic_search).with('foo', expected_params)
subject.elastic_search('foo', params)
subject.elastic_search('foo', **params)
end
it 'uses provided repository_id' do
......@@ -47,7 +47,7 @@ RSpec.describe Elastic::Latest::GitInstanceProxy do
expect(subject.class).to receive(:elastic_search).with('foo', params)
subject.elastic_search('foo', params)
subject.elastic_search('foo', **params)
end
end
......@@ -66,7 +66,7 @@ RSpec.describe Elastic::Latest::GitInstanceProxy do
expect(subject.class).to receive(:elastic_search_as_found_blob).with('foo', expected_params)
subject.elastic_search_as_found_blob('foo', params)
subject.elastic_search_as_found_blob('foo', **params)
end
it 'uses provided repository_id' do
......@@ -74,7 +74,7 @@ RSpec.describe Elastic::Latest::GitInstanceProxy do
expect(subject.class).to receive(:elastic_search_as_found_blob).with('foo', params)
subject.elastic_search_as_found_blob('foo', params)
subject.elastic_search_as_found_blob('foo', **params)
end
end
......
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