spec/elasticsearch/api/actions/query_ruleset/get_spec.rb in elasticsearch-api-8.10.0 vs spec/elasticsearch/api/actions/query_ruleset/get_spec.rb in elasticsearch-api-8.11.0
- old
+ new
@@ -22,10 +22,11 @@
[
'GET',
'_query_rules/foo',
{},
nil,
- {}
+ {},
+ { defined_params: { ruleset_id: 'foo' }, endpoint: 'query_ruleset.get' }
]
end
it 'performs the request' do
expect(client_double.query_ruleset.get(ruleset_id: 'foo')).to be_a Elasticsearch::API::Response