Package: ruby-httparty / 0.16.2+dfsg1-3

encoding.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: force encoding to UTF-8 to fix tests on default build environments
Author: Cédric Boutillier <boutil@debian.org>
Last-Update: 2018-08-16

--- a/spec/httparty/request/body_spec.rb
+++ b/spec/httparty/request/body_spec.rb
@@ -1,5 +1,7 @@
 require_relative '../../spec_helper'
 
+Encoding.default_external="UTF-8" if defined? Encoding
+
 RSpec.describe HTTParty::Request::Body do
   describe '#call' do
     subject { described_class.new(params).call }