Steve Jorgensen
unread,Sep 14, 2012, 12:39:08 AM9/14/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
Hi all, I'm preparing a pull request for 3-1-stable, but I'm getting test failures in the XML serialization tests (running just AR tests for postgresql). I looked on Travis, but I can't see that we have builds for release branches. If they are there, please advise how to find those.
I haven't dug into the cause yet to see if it's complicated or obvious, but here are the 6 failures I'm seeing...
1) Failure:
test_should_serialize_binary(NilXmlSerializationTest) [/Users/FileVault/stevej/Projects/rails/activerecord/test/cases/xml_serialization_test.rb:124]:
Failed assertion, no message given.
2) Failure:
test_should_serialize_boolean(NilXmlSerializationTest) [/Users/FileVault/stevej/Projects/rails/activerecord/test/cases/xml_serialization_test.rb:139]:
Failed assertion, no message given.
3) Failure:
test_should_serialize_datetime(NilXmlSerializationTest) [/Users/FileVault/stevej/Projects/rails/activerecord/test/cases/xml_serialization_test.rb:132]:
Failed assertion, no message given.
4) Failure:
test_should_serialize_integer(NilXmlSerializationTest) [/Users/FileVault/stevej/Projects/rails/activerecord/test/cases/xml_serialization_test.rb:117]:
Failed assertion, no message given.
5) Failure:
test_should_serialize_string(NilXmlSerializationTest) [/Users/FileVault/stevej/Projects/rails/activerecord/test/cases/xml_serialization_test.rb:113]:
Expected /<name nil="true"><\/name>/ to match "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<xml-contact>\n <name nil=\"true\"/>\n <age type=\"integer\" nil=\"true\"/>\n <avatar type=\"binary\" nil=\"true\" encoding=\"base64\"/>\n <created-at type=\"datetime\" nil=\"true\"/>\n <awesome type=\"boolean\" nil=\"true\"/>\n <preferences nil=\"true\"/>\n</xml-contact>\n".
6) Failure:
test_should_serialize_yaml(NilXmlSerializationTest) [/Users/FileVault/stevej/Projects/rails/activerecord/test/cases/xml_serialization_test.rb:146]:
Expected /<preferences nil=\"true\"><\/preferences>/ to match "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<xml-contact>\n <name nil=\"true\"/>\n <age type=\"integer\" nil=\"true\"/>\n <avatar type=\"binary\" nil=\"true\" encoding=\"base64\"/>\n <created-at type=\"datetime\" nil=\"true\"/>\n <awesome type=\"boolean\" nil=\"true\"/>\n <preferences nil=\"true\"/>\n</xml-contact>\n".