spec/unit/yaks/mapper/association_mapper_spec.rb in yaks-0.6.0.alpha.1 vs spec/unit/yaks/mapper/association_mapper_spec.rb in yaks-0.6.0
- old
+ new
@@ -24,11 +24,11 @@
it 'should render a link' do
expect(association_mapper.call(Yaks::Resource.new)).to eql Yaks::Resource.new(
links: [
Yaks::Resource::Link.new(
- 'rels:the_rel',
- 'http://this/is_where_the_associated_thing_can_be_found', {}
+ rel: 'rels:the_rel',
+ uri: 'http://this/is_where_the_associated_thing_can_be_found'
)
]
)
end
end