From f3b925def8d94e3b75b5f3931067325383d0b4d9 Mon Sep 17 00:00:00 2001 From: "Ian C. Ward" Date: Tue, 2 May 2017 18:11:48 -0400 Subject: [PATCH] fixes for rubocop --- spec/integrations/disk_spec.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/integrations/disk_spec.rb b/spec/integrations/disk_spec.rb index 9f50c3e9..e0fcaa8b 100644 --- a/spec/integrations/disk_spec.rb +++ b/spec/integrations/disk_spec.rb @@ -46,8 +46,7 @@ it { is_expected.to add_datadog_monitor('disk') } it 'renders expected YAML config file' do - expect(chef_run).to render_file('/etc/dd-agent/conf.d/disk.yaml') - .with_content { |content| + expect(chef_run).to render_file('/etc/dd-agent/conf.d/disk.yaml').with_content { |content| expect(YAML.safe_load(content).to_json).to be_json_eql( YAML.safe_load(expected_yaml).to_json )