Skip to content

Commit b7a1085

Browse files
estolfopicandocodigo
authored andcommitted
Further updates to create document spec
1 parent 342ef48 commit b7a1085

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

elasticsearch-api/spec/elasticsearch/api/actions/create_document_spec.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
[
2424
'PUT',
2525
'foo/_doc/123',
26-
{ endpoint: 'create', op_type: 'create' },
26+
{ op_type: 'create' },
2727
{ foo: 'bar' },
2828
{},
2929
{ defined_params: { id: '123', index: 'foo' }, endpoint: 'index' }
@@ -40,7 +40,7 @@
4040
[
4141
'PUT',
4242
'foo/_doc/123',
43-
{ endpoint: 'create', op_type: 'create' },
43+
{ op_type: 'create' },
4444
{},
4545
{}
4646
]
@@ -50,7 +50,7 @@
5050
[
5151
'PUT',
5252
'foo/_doc/123',
53-
{ endpoint: 'create', op_type: 'create' },
53+
{ op_type: 'create' },
5454
{},
5555
{},
5656
{ defined_params: { id: '123', index: 'foo' }, endpoint: 'index' }
@@ -68,7 +68,7 @@
6868
[
6969
'PUT',
7070
'foo/_doc/1',
71-
{ endpoint: 'create', op_type: 'create' },
71+
{ op_type: 'create' },
7272
{ foo: 'bar' },
7373
{}
7474
]
@@ -78,7 +78,7 @@
7878
[
7979
'PUT',
8080
'foo/_doc/1',
81-
{ endpoint: 'create', op_type: 'create' },
81+
{ op_type: 'create' },
8282
{ foo: 'bar' },
8383
{},
8484
{ defined_params: { id: 1, index: 'foo' }, endpoint: 'index' }
@@ -106,7 +106,7 @@
106106
[
107107
'POST',
108108
'foo/_doc',
109-
{ endpoint: 'create' },
109+
{ },
110110
{ foo: 'bar' },
111111
{},
112112
{ defined_params: { index: 'foo' }, endpoint: 'index' }

0 commit comments

Comments
 (0)