Make my diffs pretty for jsonmin tests.

Signed-off-by: Ryan Davis <zenspider@chef.io>
This commit is contained in:
Ryan Davis 2019-10-09 17:40:53 -07:00
parent f3fc535fee
commit 26ffea8d39

View file

@ -2,6 +2,8 @@ require "helper"
require "inspec/reporters"
describe Inspec::Reporters::JsonAutomate do
make_my_diffs_pretty!
let(:path) { File.expand_path(File.dirname(__FILE__)) }
let(:report) do
data = JSON.parse(File.read(path + "/../mock/reporters/run_data_wrapper.json"), symbolize_names: true)