test/integration/test_multibyte_queries.rb in peddler-1.6.3 vs test/integration/test_multibyte_queries.rb in peddler-1.6.4

- old
+ new

@@ -1,12 +1,11 @@ +# frozen_string_literal: true + require 'integration_helper' require 'mws/products' class TestMultibyteQueries < IntegrationTest - def setup - @api = 'Products' - super - end + use 'Products' def test_posts_multibyte_queries_properly ret = clients.map do |client| res = client.list_matching_products('félix guattari machinic eros') res.body.force_encoding 'UTF-8' if defined? Ox # Ox workaround