We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb4ece3 commit 20c688fCopy full SHA for 20c688f
spec/octocatalog-diff/tests/catalog/puppetmaster_spec.rb
@@ -106,7 +106,7 @@
106
# An extra 'unescape' is here because the facts are double escaped.
107
# See https://docs.puppet.com/puppet/latest/http_api/http_catalog.html#parameters
108
# and https://github.com/puppetlabs/puppet/pull/1818
109
- data = CGI.unescape(@post_data['facts'])
+ data = CGI.unescape(@post_data['facts'], 'UTF-8')
110
result = JSON.parse(data)['values']
111
expect(result).to eq(answer)
112
end
0 commit comments