spec/serializable/resource_spec.rb in restpack_serializer-0.5.6 vs spec/serializable/resource_spec.rb in restpack_serializer-0.5.7
- old
+ new
@@ -31,10 +31,10 @@
resource[:linked][:albums].count.should == 1
resource[:linked][:albums].first[:id].should == @song.album.id.to_s
end
it "includes the side-loads in the main meta data" do
- resource[:meta][:songs][:include].should == [:albums]
+ resource[:meta][:songs][:include].should == ["albums"]
end
end
describe "missing resource" do
let(:params) { { id: "-99" } }