spec/elasticsearch/api/actions/delete_script_spec.rb in elasticsearch-api-7.4.0 vs spec/elasticsearch/api/actions/delete_script_spec.rb in elasticsearch-api-7.5.0.pre.pre
- old
+ new
@@ -3,23 +3,9 @@
# See the LICENSE file in the project root for more information
require 'spec_helper'
describe 'client#delete_script' do
-
- let(:expected_args) do
- [
- 'DELETE',
- '_scripts/groovy/foo',
- {},
- nil
- ]
- end
-
- it 'performs the request' do
- expect(client_double.delete_script(lang: 'groovy', id: 'foo')).to eq({})
- end
-
context 'when lang parameter is not provided' do
let(:expected_args) do
[
'DELETE',