Skip to content

Commit 9571341

Browse files
committed
[API] Fixes ingest unit tests
1 parent 01ea80d commit 9571341

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

elasticsearch-api/spec/elasticsearch/api/actions/ingest/delete_geoip_database_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@
3434
end
3535

3636
it 'performs the request' do
37-
expect(client_double.ingest.delete_geoip_database(id: 'foo', body: {})).to be_a Elasticsearch::API::Response
37+
expect(client_double.ingest.delete_geoip_database(id: 'foo')).to be_a Elasticsearch::API::Response
3838
end
3939
end

elasticsearch-api/spec/elasticsearch/api/actions/ingest/delete_ip_location_database_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@
3434
end
3535

3636
it 'performs the request' do
37-
expect(client_double.ingest.delete_ip_location_database(id: 'foo', body: {})).to be_a Elasticsearch::API::Response
37+
expect(client_double.ingest.delete_ip_location_database(id: 'foo')).to be_a Elasticsearch::API::Response
3838
end
3939
end

0 commit comments

Comments
 (0)