Sha256: 0d813ca11543ee8fde189c468178c808bce66e9e367fdd6bcbcb7c227a2549d3
Contents?: true
Size: 477 Bytes
Versions: 3
Compression:
Stored size: 477 Bytes
Contents
# frozen_string_literal: true require 'integration_helper' require 'mws/products' class TestMultibyteQueries < IntegrationTest use 'Products' def test_posts_multibyte_queries_properly ret = clients.map do |client| res = client.list_matching_products(client.marketplace.id, 'félix guattari machinic eros') res.body.force_encoding 'UTF-8' if defined? Ox # Ox workaround res.parse end assert ret.map(&:to_s).join.include?('Félix') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
peddler-2.0.4 | test/integration/test_multibyte_queries.rb |
peddler-2.0.3 | test/integration/test_multibyte_queries.rb |
peddler-2.0.0 | test/integration/test_multibyte_queries.rb |