Skip to content

Commit 0174128

Browse files
committed
Fix tests
1 parent b1f90b4 commit 0174128

File tree

1 file changed

+30
-7
lines changed

1 file changed

+30
-7
lines changed

spec/requests/api/v1/__snapshots__/file_formats_controller_file_formats_index.snap

Lines changed: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
"attributes" => {
145145
"id" => "__REMOVED__",
146146
"format" => "json",
147-
"name" => "JSON",
147+
"name" => "JSON (flattened)",
148148
"import_support" => true,
149149
"export_support" => true,
150150
"plural_support" => true,
@@ -187,6 +187,29 @@
187187
[ 8] {
188188
"id" => "__REMOVED__",
189189
"type" => "file_format",
190+
"attributes" => {
191+
"id" => "__REMOVED__",
192+
"format" => "json-plurals",
193+
"name" => "JSON (plurals)",
194+
"import_support" => true,
195+
"export_support" => false,
196+
"plural_support" => true,
197+
"skip_empty_plural_translations_support" => true
198+
},
199+
"relationships" => {
200+
"file_format_extensions" => {
201+
"data" => [
202+
[0] {
203+
"id" => "__REMOVED__",
204+
"type" => "file_format_extension"
205+
}
206+
]
207+
}
208+
}
209+
},
210+
[ 9] {
211+
"id" => "__REMOVED__",
212+
"type" => "file_format",
190213
"attributes" => {
191214
"id" => "__REMOVED__",
192215
"format" => "json-poeditor",
@@ -207,7 +230,7 @@
207230
}
208231
}
209232
},
210-
[ 9] {
233+
[10] {
211234
"id" => "__REMOVED__",
212235
"type" => "file_format",
213236
"attributes" => {
@@ -230,7 +253,7 @@
230253
}
231254
}
232255
},
233-
[10] {
256+
[11] {
234257
"id" => "__REMOVED__",
235258
"type" => "file_format",
236259
"attributes" => {
@@ -257,7 +280,7 @@
257280
}
258281
}
259282
},
260-
[11] {
283+
[12] {
261284
"id" => "__REMOVED__",
262285
"type" => "file_format",
263286
"attributes" => {
@@ -280,7 +303,7 @@
280303
}
281304
}
282305
},
283-
[12] {
306+
[13] {
284307
"id" => "__REMOVED__",
285308
"type" => "file_format",
286309
"attributes" => {
@@ -303,7 +326,7 @@
303326
}
304327
}
305328
},
306-
[13] {
329+
[14] {
307330
"id" => "__REMOVED__",
308331
"type" => "file_format",
309332
"attributes" => {
@@ -330,7 +353,7 @@
330353
}
331354
}
332355
},
333-
[14] {
356+
[15] {
334357
"id" => "__REMOVED__",
335358
"type" => "file_format",
336359
"attributes" => {

0 commit comments

Comments
 (0)