spec/elasticsearch/api/actions/count_spec.rb in elasticsearch-api-7.8.1 vs spec/elasticsearch/api/actions/count_spec.rb in elasticsearch-api-7.9.0.pre
- old
+ new
@@ -19,11 +19,11 @@
describe 'client#count' do
let(:expected_args) do
[
- 'GET',
+ 'POST',
'_count',
{},
nil,
{}
]
@@ -35,10 +35,10 @@
context 'when an index and type are specified' do
let(:expected_args) do
[
- 'GET',
+ 'POST',
'foo,bar/t1,t2/_count',
{},
nil,
{}
]