rails/rails — pull request #7563 by rocky-jaiswal (2012-09-07 16:41:44+00:00)
Title: Fix for 2 broken ar-mysql2 tests

Hi,

Newbie here. Saw 2 failing tests on AR on travis and locally -

5) Failure:
144test_should_serialize_string(NilXmlSerializationTest) [/home/vagrant/builds/rails/rails/activerecord/test/cases/xml_serialization_test.rb:188]:
145Expected /<\/name>/ to match "\n\n \n \n \n \n \n \n \n \n\n".
146
147 6) Failure:
148test_should_serialize_yaml(NilXmlSerializationTest) [/home/vagrant/builds/rails/rails/activerecord/test/cases/xml_serialization_test.rb:221]:
149Expected /<\/preferences>/ to match "\n\n \n \n \n \n \n \n \n \n\n".

This is the fix for them.

Thanks.