Skip to content

Commit

Permalink
fixes for rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
iancward committed May 2, 2017
1 parent bdec562 commit f3b925d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/integrations/disk_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit f3b925d

Please sign in to comment.