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 3f73978 commit e4a84e2Copy full SHA for e4a84e2
spec/octocatalog-diff/tests/catalog/puppetmaster_spec.rb
@@ -106,7 +106,8 @@
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
- result = JSON.parse(CGI.unescape(@post_data['facts']))['values']
+ data = CGI.unescape(@post_data['facts'])
110
+ result = JSON.parse(data)['values']
111
expect(result).to eq(answer)
112
end
113
0 commit comments