spec/elasticsearch/api/actions/search_spec.rb in elasticsearch-api-6.2.0 vs spec/elasticsearch/api/actions/search_spec.rb in elasticsearch-api-6.3.0
- old
+ new
@@ -111,21 +111,6 @@
expect{
client.search(search_type: 'count', qwertypoiuy: 'asdflkjhg')
}.to raise_exception(ArgumentError)
end
end
-
- context 'when the request field params are not URL-encoded' do
-
- let(:params) do
- { fields: 'foo^bar'}
- end
-
- let(:url) do
- 'foo/bar/_search'
- end
-
- it 'does not encode the field params' do
- expect(client_double.search(index: 'foo', type: 'bar', fields: 'foo^bar'))
- end
- end
end