contentful-management 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. data/CHANGELOG.md +8 -0
  2. data/README.md +17 -0
  3. data/lib/contentful/management/array.rb +3 -1
  4. data/lib/contentful/management/asset.rb +16 -14
  5. data/lib/contentful/management/client.rb +1 -1
  6. data/lib/contentful/management/content_type.rb +18 -18
  7. data/lib/contentful/management/entry.rb +20 -19
  8. data/lib/contentful/management/locale.rb +4 -4
  9. data/lib/contentful/management/request.rb +4 -2
  10. data/lib/contentful/management/resource.rb +8 -8
  11. data/lib/contentful/management/resource/refresher.rb +8 -1
  12. data/lib/contentful/management/resource_builder.rb +3 -3
  13. data/lib/contentful/management/response.rb +10 -3
  14. data/lib/contentful/management/space.rb +11 -11
  15. data/lib/contentful/management/version.rb +1 -1
  16. data/spec/fixtures/vcr_cassettes/asset/create_with_locale.yml +151 -0
  17. data/spec/fixtures/vcr_cassettes/asset/limited_assets_next_page.yml +123 -0
  18. data/spec/fixtures/vcr_cassettes/asset/reload.yml +406 -0
  19. data/spec/fixtures/vcr_cassettes/content_type/reload.yml +394 -0
  20. data/spec/fixtures/vcr_cassettes/entry/all.yml +231 -36
  21. data/spec/fixtures/vcr_cassettes/entry/content_type_entires.yml +99 -23
  22. data/spec/fixtures/vcr_cassettes/entry/create_with_specified_locale.yml +509 -0
  23. data/spec/fixtures/vcr_cassettes/entry/limited_entries.yml +236 -0
  24. data/spec/fixtures/vcr_cassettes/entry/reload.yml +1027 -0
  25. data/spec/fixtures/vcr_cassettes/locale/reload.yml +279 -0
  26. data/spec/fixtures/vcr_cassettes/space/asset/all_with_skip_and_limit.yml +355 -0
  27. data/spec/fixtures/vcr_cassettes/space/asset/with_skipped_and_limited_assets_next_page.yml +635 -0
  28. data/spec/fixtures/vcr_cassettes/space/entry/with_skipped_and_limited_entires_next_page.yml +648 -0
  29. data/spec/fixtures/vcr_cassettes/space/entry/with_skipped_andlimited_entires.yml +468 -0
  30. data/spec/fixtures/vcr_cassettes/space/reload.yml +739 -0
  31. data/spec/lib/contentful/management/asset_spec.rb +42 -2
  32. data/spec/lib/contentful/management/content_type_spec.rb +16 -1
  33. data/spec/lib/contentful/management/entry_spec.rb +38 -5
  34. data/spec/lib/contentful/management/locale_spec.rb +14 -0
  35. data/spec/lib/contentful/management/space_spec.rb +46 -2
  36. metadata +31 -5
@@ -23,6 +23,15 @@ module Contentful
23
23
  it 'builds a Contentful::Management::Asset object' do
24
24
  vcr('asset/all') { expect(subject.all(space_id).first).to be_kind_of Contentful::Management::Asset }
25
25
  end
26
+ it 'return limited number of assets with next_page' do
27
+ vcr('asset/limited_assets_next_page') do
28
+ assets = Contentful::Management::Asset.all('bfsvtul0c41g', limit: 20, skip: 2)
29
+ expect(assets).to be_kind_of Contentful::Management::Array
30
+ expect(assets.limit).to eq 20
31
+ expect(assets.skip).to eq 2
32
+ assets.next_page
33
+ end
34
+ end
26
35
  end
27
36
 
28
37
  describe '#find' do
@@ -233,6 +242,23 @@ module Contentful
233
242
  end
234
243
  end
235
244
 
245
+ it 'creates asset with specified locale ' do
246
+ vcr('asset/create_with_locale') do
247
+ file1 = Contentful::Management::File.new
248
+ file1.properties[:contentType] = 'image/jpeg'
249
+ file1.properties[:fileName] = 'pic1.jpg'
250
+ file1.properties[:upload] = 'https://upload.wikimedia.org/wikipedia/commons/c/c7/Gasometer_Berlin_Sch%C3%B6neberg_2011.jpg'
251
+
252
+ asset = Contentful::Management::Asset.create('bfsvtul0c41g',
253
+ title: 'Title PL',
254
+ description: 'Description PL',
255
+ file: file1, locale: 'pl-PL' )
256
+ expect(asset).to be_kind_of Contentful::Management::Asset
257
+ expect(asset.title).to eq 'Title PL'
258
+ expect(asset.description).to eq 'Description PL'
259
+ end
260
+ end
261
+
236
262
  it 'creates asset with custom ID' do
237
263
  vcr('asset/create_with_custom_id') do
238
264
  file = Contentful::Management::File.new
@@ -304,10 +330,8 @@ module Contentful
304
330
 
305
331
  asset = subject.find(space_id, 'codequest_id_test_custom_id')
306
332
  asset.locale = 'pl'
307
-
308
333
  asset.update(title: 'updateTitlePl', description: 'updateDescPl', file: file)
309
334
  expect(asset).to be_kind_of Contentful::Management::Asset
310
- asset.locale = 'pl'
311
335
  expect(asset.title).to eq 'updateTitlePl'
312
336
  expect(asset.description).to eq 'updateDescPl'
313
337
  expect(asset.file.properties[:fileName]).to eq 'codequest.jpg'
@@ -325,6 +349,22 @@ module Contentful
325
349
  end
326
350
  end
327
351
  end
352
+
353
+ describe '#reload' do
354
+ let(:space_id){'bfsvtul0c41g'}
355
+ it 'update the current version of the object to the version on the system' do
356
+ vcr('asset/reload') do
357
+ asset = Contentful::Management::Asset.find(space_id, '8R4vbQXKbCkcSu26Wy2U0')
358
+ asset.sys[:version] = 999
359
+ update_asset = asset.update(title: 'Updated name')
360
+ expect(update_asset).to be_kind_of Contentful::Management::BadRequest
361
+ asset.reload
362
+ update_asset = asset.update(title: 'Updated name')
363
+ expect(update_asset).to be_kind_of Contentful::Management::Asset
364
+ expect(update_asset.title).to eq 'Updated name'
365
+ end
366
+ end
367
+ end
328
368
  end
329
369
  end
330
370
  end
@@ -462,7 +462,6 @@ module Contentful
462
462
 
463
463
  describe '#entries.all' do
464
464
  let(:space_id) { '9lxkhjnp8gyx' }
465
-
466
465
  it 'returns entries' do
467
466
  vcr('content_type/entry/all') do
468
467
  space = Contentful::Management::Space.find(space_id)
@@ -475,6 +474,22 @@ module Contentful
475
474
  end
476
475
  end
477
476
  end
477
+
478
+ describe '#reload' do
479
+ let(:space_id) { 'bfsvtul0c41g' }
480
+ it 'update the current version of the object to the version on the system' do
481
+ vcr('content_type/reload') do
482
+ content_type = Contentful::Management::ContentType.find(space_id, 'category_content_type')
483
+ content_type.sys[:version] = 999
484
+ update_ct = content_type.update(name: 'Updated content type name')
485
+ expect(update_ct).to be_kind_of Contentful::Management::BadRequest
486
+ content_type.reload
487
+ update_ct = content_type.update(name: 'Updated content type name')
488
+ expect(update_ct).to be_kind_of Contentful::Management::ContentType
489
+ expect(update_ct.name).to eq 'Updated content type name'
490
+ end
491
+ end
492
+ end
478
493
  end
479
494
  end
480
495
  end
@@ -16,19 +16,29 @@ module Contentful
16
16
 
17
17
  describe '.all' do
18
18
  it 'returns a Contentful::Array' do
19
- vcr('entry/all') { expect(subject.all(space_id)).to be_kind_of Contentful::Management::Array }
19
+ vcr('entry/all') { expect(subject.all('bfsvtul0c41g')).to be_kind_of Contentful::Management::Array }
20
20
  end
21
21
  it 'builds a Contentful::Management::Entry object' do
22
- vcr('entry/all') { expect(subject.all(space_id).first).to be_kind_of Contentful::Management::Entry }
22
+ vcr('entry/all') { expect(subject.all('bfsvtul0c41g').first).to be_kind_of Contentful::Management::Entry }
23
23
  end
24
24
  it 'returns entries in context of specified content type' do
25
25
  vcr('entry/content_type_entires') do
26
- entries = Contentful::Management::Entry.all('9lxkhjnp8gyx', content_type_id: 'category_content_type')
26
+ entries = Contentful::Management::Entry.all('bfsvtul0c41g', content_type: 'category_content_type')
27
27
  expect(entries).to be_kind_of Contentful::Management::Array
28
28
  expect(entries.first).to be_kind_of Contentful::Management::Entry
29
29
  expect(entries.first.sys[:contentType].id).to eq 'category_content_type'
30
30
  end
31
31
  end
32
+ it 'return limited number of entries with next_page' do
33
+ vcr('entry/limited_entries') do
34
+ entries = Contentful::Management::Entry.all('bfsvtul0c41g', limit: 20, skip: 2)
35
+ expect(entries).to be_kind_of Contentful::Management::Array
36
+ expect(entries.limit).to eq 20
37
+ expect(entries.skip).to eq 2
38
+ entries.next_page
39
+ end
40
+ end
41
+
32
42
  end
33
43
 
34
44
  describe '#find' do
@@ -250,6 +260,14 @@ module Contentful
250
260
  expect(entry.id).to eq 'custom_id'
251
261
  end
252
262
  end
263
+ it 'to specified locale' do
264
+ vcr('entry/create_with_specified_locale') do
265
+ space = Contentful::Management::Space.find('s37a4pe35l1x')
266
+ ct = space.content_types.find('category_content_type')
267
+ entry = ct.entries.create(name: 'Create test', description: 'Test - create entry with specified locale.', locale: 'pl-PL')
268
+ expect(entry.name).to eq 'Create test'
269
+ end
270
+ end
253
271
  end
254
272
 
255
273
  describe '#update' do
@@ -286,9 +304,7 @@ module Contentful
286
304
  vcr('entry/update_with_custom_locale') do
287
305
  entry = Contentful::Management::Entry.find(space_id, '3U7JqGuVzOWIimU40mKeem')
288
306
  entry.locale = 'pl'
289
-
290
307
  result = entry.update(name: 'testName', bool: true)
291
- result.locale = 'pl'
292
308
  expect(result).to be_kind_of Contentful::Management::Entry
293
309
  expect(result.fields[:name]).to eq 'testName'
294
310
  expect(result.fields[:bool]).to eq true
@@ -321,6 +337,23 @@ module Contentful
321
337
  end
322
338
  end
323
339
  end
340
+
341
+ describe '#reload' do
342
+ let(:space_id){'bfsvtul0c41g'}
343
+ it 'update the current version of the object to the version on the system' do
344
+ vcr('entry/reload') do
345
+ space = Contentful::Management::Space.find(space_id)
346
+ entry = space.entries.find('2arjcjtY7ucC4AGeIOIkok')
347
+ entry.sys[:version] = 999
348
+ update_entry = entry.update(post_title: 'Updated title')
349
+ expect(update_entry).to be_kind_of Contentful::Management::BadRequest
350
+ entry.reload
351
+ update_entry = entry.update(post_title: 'Updated title')
352
+ expect(update_entry).to be_kind_of Contentful::Management::Entry
353
+ expect(update_entry.post_title).to eq 'Updated title'
354
+ end
355
+ end
356
+ end
324
357
  end
325
358
  end
326
359
  end
@@ -48,6 +48,20 @@ module Contentful
48
48
  end
49
49
  end
50
50
  end
51
+
52
+ describe '#reload' do
53
+ let(:space_id){'bfsvtul0c41g'}
54
+ it 'update the current version of the object to the version on the system' do
55
+ vcr('locale/reload') do
56
+ locale = subject.find(space_id, '0ywTmGkjR0YhmbYaSmV1CS')
57
+ locale.sys[:version] = 99
58
+ locale.reload
59
+ update_locale = locale.update(name: 'Polish PL')
60
+ expect(update_locale).to be_kind_of Contentful::Management::Locale
61
+ expect(locale.name).to eql 'Polish PL'
62
+ end
63
+ end
64
+ end
51
65
  end
52
66
  end
53
67
  end
@@ -229,6 +229,13 @@ module Contentful
229
229
  expect(result.id).to eql '6zEogZjpO8cq6YOOQigiAw'
230
230
  end
231
231
  end
232
+ it '#assets.all(skip: 3, limit: 5)' do
233
+ vcr('space/asset/all_with_skip_and_limit') do
234
+ assets = subject.find('bfsvtul0c41g').assets.all(limit: 5, skip: 3)
235
+ expect(assets).to be_kind_of Contentful::Management::Array
236
+ expect(assets.limit).to eq 5
237
+ end
238
+ end
232
239
 
233
240
  it 'create asset for space' do
234
241
  vcr('space/asset/create') do
@@ -268,6 +275,18 @@ module Contentful
268
275
  end
269
276
  end
270
277
  end
278
+ describe '#assets.all(limit: 2, skip: 1).next_page' do
279
+ it 'returns assets to limited number of assets' do
280
+ vcr('space/asset/with_skipped_and_limited_assets_next_page') do
281
+ space = subject.find('bfsvtul0c41g')
282
+ assets = space.assets.all(limit: 2, skip: 1).next_page
283
+ expect(assets).to be_kind_of Contentful::Management::Array
284
+ expect(assets.first).to be_kind_of Contentful::Management::Asset
285
+ expect(assets.limit).to eq 2
286
+ expect(assets.skip).to eq 3
287
+ end
288
+ end
289
+ end
271
290
 
272
291
  describe '#entries' do
273
292
  it '#entries.all' do
@@ -290,17 +309,42 @@ module Contentful
290
309
  end
291
310
  end
292
311
  end
293
- describe '#entries(content_type: content_type_id)' do
312
+ describe '#entries.all(content_type: content_type_id)' do
294
313
  it 'returns entries to specified content type' do
295
314
  vcr('space/entry/content_type_entires') do
296
315
  space = subject.find('9lxkhjnp8gyx')
297
- entries = space.entries.all(content_type_id: 'category_content_type')
316
+ entries = space.entries.all(content_type: 'category_content_type')
298
317
  expect(entries).to be_kind_of Contentful::Management::Array
299
318
  expect(entries.first).to be_kind_of Contentful::Management::Entry
300
319
  expect(entries.first.sys[:contentType].id).to eq 'category_content_type'
301
320
  end
302
321
  end
303
322
  end
323
+ describe '#entries.all(limit: 2, skip: 1).next_page' do
324
+ it 'returns entries to limited number of entries' do
325
+ vcr('space/entry/with_skipped_and_limited_entires_next_page') do
326
+ space = subject.find('sueu9bzev6qn')
327
+ entries = space.entries.all(limit: 2, skip: 1).next_page
328
+ expect(entries).to be_kind_of Contentful::Management::Array
329
+ expect(entries.first).to be_kind_of Contentful::Management::Entry
330
+ expect(entries.limit).to eq 2
331
+ expect(entries.skip).to eq 3
332
+ end
333
+ end
334
+ end
335
+ describe '#reload' do
336
+ let(:space_id){'bfsvtul0c41g'}
337
+ it 'update the current version of the object to the version on the system' do
338
+ vcr('space/reload') do
339
+ space = subject.find(space_id)
340
+ space.sys[:version] = 99
341
+ space.reload
342
+ update_space = space.update(name: 'Reload Space Name')
343
+ expect(update_space).to be_kind_of Contentful::Management::Space
344
+ expect(space.name).to eql 'Reload Space Name'
345
+ end
346
+ end
347
+ end
304
348
  end
305
349
  end
306
350
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contentful-management
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-08-14 00:00:00.000000000 Z
14
+ date: 2014-08-19 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: http
@@ -240,16 +240,19 @@ files:
240
240
  - spec/fixtures/vcr_cassettes/asset/create.yml
241
241
  - spec/fixtures/vcr_cassettes/asset/create_with_already_used_id.yml
242
242
  - spec/fixtures/vcr_cassettes/asset/create_with_custom_id.yml
243
+ - spec/fixtures/vcr_cassettes/asset/create_with_locale.yml
243
244
  - spec/fixtures/vcr_cassettes/asset/destroy.yml
244
245
  - spec/fixtures/vcr_cassettes/asset/destroy_published.yml
245
246
  - spec/fixtures/vcr_cassettes/asset/find.yml
246
247
  - spec/fixtures/vcr_cassettes/asset/find_not_found.yml
248
+ - spec/fixtures/vcr_cassettes/asset/limited_assets_next_page.yml
247
249
  - spec/fixtures/vcr_cassettes/asset/locale.yml
248
250
  - spec/fixtures/vcr_cassettes/asset/publish.yml
249
251
  - spec/fixtures/vcr_cassettes/asset/publish_after_create.yml
250
252
  - spec/fixtures/vcr_cassettes/asset/publish_already_published.yml
251
253
  - spec/fixtures/vcr_cassettes/asset/published_false.yml
252
254
  - spec/fixtures/vcr_cassettes/asset/published_true.yml
255
+ - spec/fixtures/vcr_cassettes/asset/reload.yml
253
256
  - spec/fixtures/vcr_cassettes/asset/save_update.yml
254
257
  - spec/fixtures/vcr_cassettes/asset/set_locale.yml
255
258
  - spec/fixtures/vcr_cassettes/asset/unarchive.yml
@@ -297,6 +300,7 @@ files:
297
300
  - spec/fixtures/vcr_cassettes/content_type/fields/update_field.yml
298
301
  - spec/fixtures/vcr_cassettes/content_type/find.yml
299
302
  - spec/fixtures/vcr_cassettes/content_type/find_not_found.yml
303
+ - spec/fixtures/vcr_cassettes/content_type/reload.yml
300
304
  - spec/fixtures/vcr_cassettes/content_type/save_new.yml
301
305
  - spec/fixtures/vcr_cassettes/content_type/save_updated.yml
302
306
  - spec/fixtures/vcr_cassettes/content_type/save_with_added_field.yml
@@ -319,15 +323,18 @@ files:
319
323
  - spec/fixtures/vcr_cassettes/entry/create_with_entries.yml
320
324
  - spec/fixtures/vcr_cassettes/entry/create_with_entry.yml
321
325
  - spec/fixtures/vcr_cassettes/entry/create_with_location.yml
326
+ - spec/fixtures/vcr_cassettes/entry/create_with_specified_locale.yml
322
327
  - spec/fixtures/vcr_cassettes/entry/create_with_symbols.yml
323
328
  - spec/fixtures/vcr_cassettes/entry/destory_published.yml
324
329
  - spec/fixtures/vcr_cassettes/entry/destroy.yml
325
330
  - spec/fixtures/vcr_cassettes/entry/find.yml
326
331
  - spec/fixtures/vcr_cassettes/entry/find_not_found.yml
332
+ - spec/fixtures/vcr_cassettes/entry/limited_entries.yml
327
333
  - spec/fixtures/vcr_cassettes/entry/publish.yml
328
334
  - spec/fixtures/vcr_cassettes/entry/publish_already_published.yml
329
335
  - spec/fixtures/vcr_cassettes/entry/published_false.yml
330
336
  - spec/fixtures/vcr_cassettes/entry/published_true.yml
337
+ - spec/fixtures/vcr_cassettes/entry/reload.yml
331
338
  - spec/fixtures/vcr_cassettes/entry/save_update.yml
332
339
  - spec/fixtures/vcr_cassettes/entry/unarchive.yml
333
340
  - spec/fixtures/vcr_cassettes/entry/unarchive_already_unarchived.yml
@@ -341,11 +348,14 @@ files:
341
348
  - spec/fixtures/vcr_cassettes/locale/create_for_space.yml
342
349
  - spec/fixtures/vcr_cassettes/locale/find.yml
343
350
  - spec/fixtures/vcr_cassettes/locale/find_for_space_not_found.yml
351
+ - spec/fixtures/vcr_cassettes/locale/reload.yml
344
352
  - spec/fixtures/vcr_cassettes/space/all.yml
345
353
  - spec/fixtures/vcr_cassettes/space/asset/all.yml
354
+ - spec/fixtures/vcr_cassettes/space/asset/all_with_skip_and_limit.yml
346
355
  - spec/fixtures/vcr_cassettes/space/asset/create.yml
347
356
  - spec/fixtures/vcr_cassettes/space/asset/create_with_multiple_locales.yml
348
357
  - spec/fixtures/vcr_cassettes/space/asset/find.yml
358
+ - spec/fixtures/vcr_cassettes/space/asset/with_skipped_and_limited_assets_next_page.yml
349
359
  - spec/fixtures/vcr_cassettes/space/content_type/all.yml
350
360
  - spec/fixtures/vcr_cassettes/space/content_type/create.yml
351
361
  - spec/fixtures/vcr_cassettes/space/content_type/find.yml
@@ -357,6 +367,8 @@ files:
357
367
  - spec/fixtures/vcr_cassettes/space/entry/all.yml
358
368
  - spec/fixtures/vcr_cassettes/space/entry/content_type_entires.yml
359
369
  - spec/fixtures/vcr_cassettes/space/entry/find.yml
370
+ - spec/fixtures/vcr_cassettes/space/entry/with_skipped_and_limited_entires_next_page.yml
371
+ - spec/fixtures/vcr_cassettes/space/entry/with_skipped_andlimited_entires.yml
360
372
  - spec/fixtures/vcr_cassettes/space/find.yml
361
373
  - spec/fixtures/vcr_cassettes/space/find_not_found.yml
362
374
  - spec/fixtures/vcr_cassettes/space/locale/all.yml
@@ -365,6 +377,7 @@ files:
365
377
  - spec/fixtures/vcr_cassettes/space/locale/find.yml
366
378
  - spec/fixtures/vcr_cassettes/space/locale/find_not_found.yml
367
379
  - spec/fixtures/vcr_cassettes/space/locale/update.yml
380
+ - spec/fixtures/vcr_cassettes/space/reload.yml
368
381
  - spec/fixtures/vcr_cassettes/space/save_new_space.yml
369
382
  - spec/fixtures/vcr_cassettes/space/save_update_space.yml
370
383
  - spec/fixtures/vcr_cassettes/space/update.yml
@@ -393,7 +406,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
393
406
  version: '0'
394
407
  segments:
395
408
  - 0
396
- hash: -2682848503552610663
409
+ hash: -4102337391119428575
397
410
  required_rubygems_version: !ruby/object:Gem::Requirement
398
411
  none: false
399
412
  requirements:
@@ -402,10 +415,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
402
415
  version: '0'
403
416
  segments:
404
417
  - 0
405
- hash: -2682848503552610663
418
+ hash: -4102337391119428575
406
419
  requirements: []
407
420
  rubyforge_project:
408
- rubygems_version: 1.8.23.2
421
+ rubygems_version: 1.8.23
409
422
  signing_key:
410
423
  specification_version: 3
411
424
  summary: contentful management api
@@ -419,16 +432,19 @@ test_files:
419
432
  - spec/fixtures/vcr_cassettes/asset/create.yml
420
433
  - spec/fixtures/vcr_cassettes/asset/create_with_already_used_id.yml
421
434
  - spec/fixtures/vcr_cassettes/asset/create_with_custom_id.yml
435
+ - spec/fixtures/vcr_cassettes/asset/create_with_locale.yml
422
436
  - spec/fixtures/vcr_cassettes/asset/destroy.yml
423
437
  - spec/fixtures/vcr_cassettes/asset/destroy_published.yml
424
438
  - spec/fixtures/vcr_cassettes/asset/find.yml
425
439
  - spec/fixtures/vcr_cassettes/asset/find_not_found.yml
440
+ - spec/fixtures/vcr_cassettes/asset/limited_assets_next_page.yml
426
441
  - spec/fixtures/vcr_cassettes/asset/locale.yml
427
442
  - spec/fixtures/vcr_cassettes/asset/publish.yml
428
443
  - spec/fixtures/vcr_cassettes/asset/publish_after_create.yml
429
444
  - spec/fixtures/vcr_cassettes/asset/publish_already_published.yml
430
445
  - spec/fixtures/vcr_cassettes/asset/published_false.yml
431
446
  - spec/fixtures/vcr_cassettes/asset/published_true.yml
447
+ - spec/fixtures/vcr_cassettes/asset/reload.yml
432
448
  - spec/fixtures/vcr_cassettes/asset/save_update.yml
433
449
  - spec/fixtures/vcr_cassettes/asset/set_locale.yml
434
450
  - spec/fixtures/vcr_cassettes/asset/unarchive.yml
@@ -476,6 +492,7 @@ test_files:
476
492
  - spec/fixtures/vcr_cassettes/content_type/fields/update_field.yml
477
493
  - spec/fixtures/vcr_cassettes/content_type/find.yml
478
494
  - spec/fixtures/vcr_cassettes/content_type/find_not_found.yml
495
+ - spec/fixtures/vcr_cassettes/content_type/reload.yml
479
496
  - spec/fixtures/vcr_cassettes/content_type/save_new.yml
480
497
  - spec/fixtures/vcr_cassettes/content_type/save_updated.yml
481
498
  - spec/fixtures/vcr_cassettes/content_type/save_with_added_field.yml
@@ -498,15 +515,18 @@ test_files:
498
515
  - spec/fixtures/vcr_cassettes/entry/create_with_entries.yml
499
516
  - spec/fixtures/vcr_cassettes/entry/create_with_entry.yml
500
517
  - spec/fixtures/vcr_cassettes/entry/create_with_location.yml
518
+ - spec/fixtures/vcr_cassettes/entry/create_with_specified_locale.yml
501
519
  - spec/fixtures/vcr_cassettes/entry/create_with_symbols.yml
502
520
  - spec/fixtures/vcr_cassettes/entry/destory_published.yml
503
521
  - spec/fixtures/vcr_cassettes/entry/destroy.yml
504
522
  - spec/fixtures/vcr_cassettes/entry/find.yml
505
523
  - spec/fixtures/vcr_cassettes/entry/find_not_found.yml
524
+ - spec/fixtures/vcr_cassettes/entry/limited_entries.yml
506
525
  - spec/fixtures/vcr_cassettes/entry/publish.yml
507
526
  - spec/fixtures/vcr_cassettes/entry/publish_already_published.yml
508
527
  - spec/fixtures/vcr_cassettes/entry/published_false.yml
509
528
  - spec/fixtures/vcr_cassettes/entry/published_true.yml
529
+ - spec/fixtures/vcr_cassettes/entry/reload.yml
510
530
  - spec/fixtures/vcr_cassettes/entry/save_update.yml
511
531
  - spec/fixtures/vcr_cassettes/entry/unarchive.yml
512
532
  - spec/fixtures/vcr_cassettes/entry/unarchive_already_unarchived.yml
@@ -520,11 +540,14 @@ test_files:
520
540
  - spec/fixtures/vcr_cassettes/locale/create_for_space.yml
521
541
  - spec/fixtures/vcr_cassettes/locale/find.yml
522
542
  - spec/fixtures/vcr_cassettes/locale/find_for_space_not_found.yml
543
+ - spec/fixtures/vcr_cassettes/locale/reload.yml
523
544
  - spec/fixtures/vcr_cassettes/space/all.yml
524
545
  - spec/fixtures/vcr_cassettes/space/asset/all.yml
546
+ - spec/fixtures/vcr_cassettes/space/asset/all_with_skip_and_limit.yml
525
547
  - spec/fixtures/vcr_cassettes/space/asset/create.yml
526
548
  - spec/fixtures/vcr_cassettes/space/asset/create_with_multiple_locales.yml
527
549
  - spec/fixtures/vcr_cassettes/space/asset/find.yml
550
+ - spec/fixtures/vcr_cassettes/space/asset/with_skipped_and_limited_assets_next_page.yml
528
551
  - spec/fixtures/vcr_cassettes/space/content_type/all.yml
529
552
  - spec/fixtures/vcr_cassettes/space/content_type/create.yml
530
553
  - spec/fixtures/vcr_cassettes/space/content_type/find.yml
@@ -536,6 +559,8 @@ test_files:
536
559
  - spec/fixtures/vcr_cassettes/space/entry/all.yml
537
560
  - spec/fixtures/vcr_cassettes/space/entry/content_type_entires.yml
538
561
  - spec/fixtures/vcr_cassettes/space/entry/find.yml
562
+ - spec/fixtures/vcr_cassettes/space/entry/with_skipped_and_limited_entires_next_page.yml
563
+ - spec/fixtures/vcr_cassettes/space/entry/with_skipped_andlimited_entires.yml
539
564
  - spec/fixtures/vcr_cassettes/space/find.yml
540
565
  - spec/fixtures/vcr_cassettes/space/find_not_found.yml
541
566
  - spec/fixtures/vcr_cassettes/space/locale/all.yml
@@ -544,6 +569,7 @@ test_files:
544
569
  - spec/fixtures/vcr_cassettes/space/locale/find.yml
545
570
  - spec/fixtures/vcr_cassettes/space/locale/find_not_found.yml
546
571
  - spec/fixtures/vcr_cassettes/space/locale/update.yml
572
+ - spec/fixtures/vcr_cassettes/space/reload.yml
547
573
  - spec/fixtures/vcr_cassettes/space/save_new_space.yml
548
574
  - spec/fixtures/vcr_cassettes/space/save_update_space.yml
549
575
  - spec/fixtures/vcr_cassettes/space/update.yml