test/serializers/xml_serializer_test.rb in purzelrakete-restful-0.2.3 vs test/serializers/xml_serializer_test.rb in purzelrakete-restful-0.2.4

- old
+ new

@@ -42,6 +42,10 @@ specify "should serialize hashes correctly" do @person.pets.create(:species => "cat", :age => 100, :name => "motze") xml_should_eql_fixture(@person.to_restful_xml(:pets_ages_hash), "people", :hashy_person) end -end + + specify "should serialize collections correctly" do + xml_should_eql_fixture(@person.pets.to_restful_xml, "pets", :pets_array) + end +end \ No newline at end of file