spec/lib/contentful/management/entry_spec.rb in contentful-management-1.4.0 vs spec/lib/contentful/management/entry_spec.rb in contentful-management-1.5.0

- old
+ new

@@ -51,9 +51,15 @@ expect(entries.limit).to eq 20 expect(entries.skip).to eq 2 entries.next_page end end + it 'supports select operator' do + vcr('entry/select_operator') do + nyancat = subject.all('cfexampleapi', 'sys.id' => 'nyancat', content_type: 'cat', select: 'fields.lives').first + expect(nyancat.fields).to eq({lives: 1337}) + end + end end describe '.all_published' do let!(:space_id) { 'bjwq7b86vgmm' }