test/unit/location_test.rb in active_shipping-1.0.0.pre4 vs test/unit/location_test.rb in active_shipping-1.0.0

- old
+ new

@@ -88,19 +88,9 @@ def test_to_json location_json = location_fixtures[:ottawa].to_json assert_equal location_fixtures[:ottawa].to_hash, JSON.parse(location_json).symbolize_keys end - def test_default_to_xml - location_xml = location_fixtures[:ottawa].to_xml - assert_equal location_fixtures[:ottawa].to_hash, Hash.from_xml(location_xml)["location"].symbolize_keys - end - - def test_custom_root_to_xml - location_xml = location_fixtures[:ottawa].to_xml(:root => "destination") - assert_equal location_fixtures[:ottawa].to_hash, Hash.from_xml(location_xml)["destination"].symbolize_keys - end - def test_zip_plus_4_with_no_dash zip = "33333" plus_4 = "1234" zip_plus_4 = "#{zip}-#{plus_4}" location = Location.from(:zip => "#{zip}#{plus_4}")