test/unit/peddler/test_client.rb in peddler-1.1.0 vs test/unit/peddler/test_client.rb in peddler-1.1.1

- old
+ new

@@ -76,11 +76,11 @@ def test_sets_content_type_header_for_latin_flat_file_body @client.body = 'foo' content_type = @client.headers.fetch('Content-Type') - assert_equal 'text/tab-separated-values; charset=ISO-8859-1', content_type + assert_equal 'text/tab-separated-values; charset=CP1252', content_type end def test_sets_content_type_header_for_chinese_flat_file_body @client.primary_marketplace_id = 'AAHKV2X7AFYLW' @client.body = 'foo' @@ -92,10 +92,10 @@ def test_sets_content_type_header_for_japanese_flat_file_body @client.primary_marketplace_id = 'A1VC38T7YXB528' @client.body = 'foo' content_type = @client.headers.fetch('Content-Type') - assert_equal 'text/tab-separated-values; charset=Shift_JIS', content_type + assert_equal 'text/tab-separated-values; charset=Windows-31J', content_type end def test_sets_content_type_header_for_xml_body @client.body = '<?xml version="1.0"?><Foo></Foo>' content_type = @client.headers.fetch('Content-Type')