[process] fixing spec test.
diff --git a/spec/classes/datadog_agent_integrations_process_spec.rb b/spec/classes/datadog_agent_integrations_process_spec.rb index 89412c4..2c0d1a0 100644 --- a/spec/classes/datadog_agent_integrations_process_spec.rb +++ b/spec/classes/datadog_agent_integrations_process_spec.rb
@@ -29,13 +29,13 @@ processes: [ { 'name' => 'foo', - 'search_string' => 'bar', + 'search_string' => [ 'bar' ], 'exact_match' => true } ] }} it { should contain_file(conf_file).with_content(%r{name: foo}) } - it { should contain_file(conf_file).with_content(%r{search_string: bar}) } + it { should contain_file(conf_file).with_content(%r{search_string:\n^.*- bar}) } it { should contain_file(conf_file).with_content(%r{exact_match: true}) } end end