From 0a95d0e493b40f7db78993510fd1f6a466fd8eb9 Mon Sep 17 00:00:00 2001 From: Dennis Ploeger Date: Tue, 30 Jan 2024 07:57:04 +0100 Subject: [PATCH] Update spec/classes/mod/cache_disk_spec.rb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Romain Tartière --- spec/classes/mod/cache_disk_spec.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/spec/classes/mod/cache_disk_spec.rb b/spec/classes/mod/cache_disk_spec.rb index 6a18c6138..a85054063 100644 --- a/spec/classes/mod/cache_disk_spec.rb +++ b/spec/classes/mod/cache_disk_spec.rb @@ -26,10 +26,7 @@ default_config = %r{CacheEnable disk /\nCacheRoot "/var/cache/apache2/mod_cache_disk"} - it { - expect(subject).to contain_file('cache_disk.conf') - .with(content: default_config) - } + it { is_expected.to contain_file('cache_disk.conf').with(content: default_config) } describe 'with multiple cache_enable parameters' do let(:params) do