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