spec/elasticsearch/api/actions/search_mvt_spec.rb in elasticsearch-api-7.15.0 vs spec/elasticsearch/api/actions/search_mvt_spec.rb in elasticsearch-api-7.16.0
- old
+ new
@@ -18,19 +18,18 @@
require 'spec_helper'
describe 'client#search_mvt' do
let(:expected_args) do
[
- method,
+ 'POST',
url,
params,
body,
{}
]
end
context 'with right parameters' do
- let(:method) { 'POST' }
let(:url) { 'foo/_mvt/field/10/57.2127/6.2348' }
let(:params) { {} }
let(:body) { nil }
it 'performs the request' do