spec/elasticsearch/api/actions/delete_script_spec.rb in elasticsearch-api-7.6.0 vs spec/elasticsearch/api/actions/delete_script_spec.rb in elasticsearch-api-7.7.0.pre
- old
+ new
@@ -10,10 +10,11 @@
let(:expected_args) do
[
'DELETE',
'_scripts/foo',
{},
- nil
+ nil,
+ {}
]
end
it 'performs the request' do
expect(client_double.delete_script(id: 'foo')).to eq({})