From cd0080222e285670675cbb4ade5a919a4017a84d Mon Sep 17 00:00:00 2001 From: Andrew Bramble Date: Thu, 19 Oct 2017 11:08:04 +1100 Subject: [PATCH] *fix* blackbox spec tests. FACEPALM - s/_/-/ one character error in config filename --- spec/classes/blackbox_exporter_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/classes/blackbox_exporter_spec.rb b/spec/classes/blackbox_exporter_spec.rb index e0f3ecc34..ddf59be19 100644 --- a/spec/classes/blackbox_exporter_spec.rb +++ b/spec/classes/blackbox_exporter_spec.rb @@ -26,7 +26,8 @@ end describe 'config file contents' do it { - verify_contents(catalogue, '/etc/blackbox_exporter.yaml', ['---', 'modules:', ' http_2xx:', ' prober: http']) + is_expected.to contain_file('/etc/blackbox-exporter.yaml') + verify_contents(catalogue, '/etc/blackbox-exporter.yaml', ['---', 'modules:', ' http_2xx:', ' prober: http']) } end end