From fe287f5d7c4616a00cb0e47c181bdc2294cd24e9 Mon Sep 17 00:00:00 2001 From: Werner Dijkerman Date: Sat, 6 Feb 2016 15:58:43 +0100 Subject: [PATCH] Fixes for serverspec --- .../default/serverspec/localhost/ansible_telegraf_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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