summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authortyler-ball <tyleraball@gmail.com>2014-09-26 12:58:44 -0700
committertyler-ball <tyleraball@gmail.com>2014-10-07 16:40:38 -0700
commitcfd9d2efea9581126881598ec68a117121b61b8a (patch)
tree8cbff05bceb7e04f4cf581bf607250b6c3697549 /spec/support
parente757c926990b1362f37fb1f1fa85b5f9545b469f (diff)
downloadchef-cfd9d2efea9581126881598ec68a117121b61b8a.tar.gz
Found some JSON pretty printing statements I missed
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/shared/integration/integration_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/shared/integration/integration_helper.rb b/spec/support/shared/integration/integration_helper.rb
index b42f7f69d9..e6942c62af 100644
--- a/spec/support/shared/integration/integration_helper.rb
+++ b/spec/support/shared/integration/integration_helper.rb
@@ -72,7 +72,7 @@ module IntegrationSupport
File.open(filename, 'w') do |file|
raw = case contents
when Hash, Array
- JSON.pretty_generate(contents)
+ Chef::JSONCompat.to_json_pretty(contents)
else
contents
end