spec/lib/contentful/management/space_membership_spec.rb in contentful-management-2.2.2 vs spec/lib/contentful/management/space_membership_spec.rb in contentful-management-2.3.0

- old
+ new

@@ -126,9 +126,18 @@ expect(membership.roles.first).to be_a Link } end end + describe '.find' do + it 'finds a Contentful::Management::SpaceMembership' do + vcr('space_memberships/find_2') { + membership = subject.find(subject.all.first.id) + expect(membership).to be_a Contentful::Management::SpaceMembership + } + end + end + describe '#destroy' do it 'deletes the membership' do vcr('space_memberships/delete') { membership = subject.find('7pcydolqtgMaSLwmXMvGqW')