spec/serializable/paging_spec.rb in restpack_serializer-0.5.6 vs spec/serializable/paging_spec.rb in restpack_serializer-0.5.7
- old
+ new
@@ -133,10 +133,10 @@
it "includes side-loaded models" do
page[:linked][:albums].should_not == nil
end
it "includes the side-loads in the main meta data" do
- page[:meta][:songs][:include].should == [:albums]
+ page[:meta][:songs][:include].should == ["albums"]
end
it "includes the side-loads in page hrefs" do
page[:meta][:songs][:next_href].should == '/songs?page=2&include=albums'
end