spec/lib/contentful/management/entry_spec.rb in contentful-management-2.13.1 vs spec/lib/contentful/management/entry_spec.rb in contentful-management-3.0.0
- old
+ new
@@ -883,17 +883,17 @@
end
it 'hydrates tags' do
vcr('entry/issue_219') {
entry = environment.entries.find(entry_id)
- expect(entry.metadata[:tags].first).to be_a Contentful::Management::Link
+ expect(entry._metadata[:tags].first).to be_a Contentful::Management::Link
}
end
it 'loads tag links with their proper attributes' do
vcr('entry/issue_219') {
entry = environment.entries.find(entry_id)
- tag = entry.metadata[:tags].first
+ tag = entry._metadata[:tags].first
expect(tag.id).to eq 'mobQa'
expect(tag.link_type).to eq 'Tag'
}
end
end