diff --git a/test/integration/default/serverspec/localhost/ansible_telegraf_spec.rb b/test/integration/default/serverspec/localhost/ansible_telegraf_spec.rb index 29ed5f4..b23f936 100644 --- a/test/integration/default/serverspec/localhost/ansible_telegraf_spec.rb +++ b/test/integration/default/serverspec/localhost/ansible_telegraf_spec.rb @@ -20,8 +20,8 @@ describe 'Telegraf Configuration' do it { should be_owned_by 'root'} it { should be_grouped_into 'root'} - it { should contain "[cpu]" } - it { should contain "[mem]" } - it { should contain "url = \"http://localhost:8086\"" } + it { should contain "[[inputs.cpu]]" } + it { should contain "[[inputs.mem]]" } + it { should contain "urls = \"http://localhost:8086\"" } end end