test/hyperclient/representation_test.rb in hyperclient-0.0.6 vs test/hyperclient/representation_test.rb in hyperclient-0.0.7

- old
+ new

@@ -39,14 +39,14 @@ it 'returns resources included in the _links section' do representation.links.filter.must_be_kind_of Resource end end - describe 'resources' do + describe 'embedded' do it 'returns resources included in the _embedded section' do - representation.resources.author.must_be_kind_of Resource - representation.resources.episodes.first.must_be_kind_of Resource - representation.resources.episodes.last.must_be_kind_of Resource + representation.embedded.author.must_be_kind_of Resource + representation.embedded.episodes.first.must_be_kind_of Resource + representation.embedded.episodes.last.must_be_kind_of Resource end end end end