From 6dedef2b1aad8458ff13285553fd5a2f4666f1d2 Mon Sep 17 00:00:00 2001 From: Chad Huneycutt Date: Mon, 20 May 2024 22:52:30 -0400 Subject: [PATCH] [issue-680] rubocop fixes --- spec/classes/statsd_exporter_spec.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/classes/statsd_exporter_spec.rb b/spec/classes/statsd_exporter_spec.rb index 54419acd..0f79d3aa 100644 --- a/spec/classes/statsd_exporter_spec.rb +++ b/spec/classes/statsd_exporter_spec.rb @@ -104,9 +104,8 @@ end describe 'not install config' do - it { should_not contain_file('/etc/statsd-exporter-mapping.yaml') } + it { is_expected.not_to contain_file('/etc/statsd-exporter-mapping.yaml') } end - end context 'with older version that does not support posix like option flags specified' do