Skip to content

Commit

Permalink
Update spec/classes/mod/cache_disk_spec.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Romain Tartière <[email protected]>
  • Loading branch information
dploeger and smortex authored Jan 30, 2024
1 parent abc078f commit 0a95d0e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions spec/classes/mod/cache_disk_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0a95d0e

Please sign in to comment.