diff options
author | tyler-ball <tyleraball@gmail.com> | 2014-09-26 12:58:44 -0700 |
---|---|---|
committer | tyler-ball <tyleraball@gmail.com> | 2014-10-07 16:40:38 -0700 |
commit | cfd9d2efea9581126881598ec68a117121b61b8a (patch) | |
tree | 8cbff05bceb7e04f4cf581bf607250b6c3697549 /spec/support | |
parent | e757c926990b1362f37fb1f1fa85b5f9545b469f (diff) | |
download | chef-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.rb | 2 |
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 |