Skip to content

Commit ce11197

Browse files
author
Kevin Paulisse
committed
Add double escaping to the mock puppet server :rolleyes:
1 parent 9888936 commit ce11197

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/octocatalog-diff/integration/puppetmaster_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def self.parse_body(body)
4545
end
4646

4747
def self.facts_match(body)
48-
facts = JSON.parse(parse_body(body)['facts'])
48+
facts = JSON.parse(CGI.unescape(parse_body(body)['facts']))
4949
facts.delete('_timestamp')
5050
desired_facts = {
5151
'name' => 'rspec-node.xyz.github.net',

0 commit comments

Comments
 (0)