Michael Koziarski wrote:
Is there an easy way to rewrite the assertion so it works for folks not
in the Windy City?

I live in another windy city, so I noticed this too.   I believe this
is now fixed as of [3870].  to_xml uses the xmlschema format (so
timezones are included) and the test now checks for the string in the
local timezone.

Hmm, now the tests fail for lack of #xmlschema.

For example:

test_to_xml(BasicsTest):
NoMethodError: undefined method `xmlschema' for Sun Jan 30 06:28:00 PST 2005:Time

./test/../lib/../../activesupport/lib/active_support/core_ext/hash/conversions.rb:15

./test/../lib/../../activesupport/lib/active_support/core_ext/hash/conversions.rb:36:in `to_xml'

./test/../lib/../../activesupport/lib/active_support/core_ext/hash/conversions.rb:24:in `to_xml'

./test/../lib/../../activesupport/lib/active_support/vendor/builder/xmlbase.rb:138:in `_nested_structures'

./test/../lib/../../activesupport/lib/active_support/vendor/builder/xmlbase.rb:60:in `method_missing'

./test/../lib/../../activesupport/lib/active_support/core_ext/hash/conversions.rb:23:in `to_xml'
    ./test/../lib/active_record/base.rb:1560:in `to_xml'
    ./test/base_test.rb:1163:in `test_to_xml'
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to