File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 105105 it {
106106 is_expected . to contain_file ( 'disk_cache.conf' )
107107 . with ( content : %r{CacheEnable disk \/ \n CacheRoot \" \/ var\/ cache\/ apache2\/ mod_cache_disk\" \n CacheDirLevels 2\n CacheDirLength 1\n CacheIgnoreHeaders Set-Cookie} )
108- } . to raise_error ( Puppet ::Error , 'default_cache_enable must be true or false' )
108+ . to raise_error ( Puppet ::Error , 'default_cache_enable must be true or false' )
109+ }
109110 end
110111 end
111112
206207 it {
207208 is_expected . to contain_file ( 'disk_cache.conf' )
208209 . with ( content : %r{CacheEnable disk \/ \n CacheRoot \" \/ var\/ cache\/ apache2\/ mod_cache_disk\" \n CacheDirLevels 2\n CacheDirLength 1\n CacheIgnoreHeaders Set-Cookie} )
209- } . to raise_error ( Puppet ::Error , 'default_cache_enable must be true or false' )
210+ . to raise_error ( Puppet ::Error , 'default_cache_enable must be true or false' )
211+ }
210212 end
211213 end
212214 context 'on a FreeBSD OS' do
312314 it {
313315 is_expected . to contain_file ( 'disk_cache.conf' )
314316 . with ( content : %r{CacheEnable disk \/ \n CacheRoot \" \/ var\/ cache\/ apache2\/ mod_cache_disk\" \n CacheDirLevels 2\n CacheDirLength 1\n CacheIgnoreHeaders Set-Cookie} )
315- } . to raise_error ( Puppet ::Error , 'default_cache_enable must be true or false' )
317+ . to raise_error ( Puppet ::Error , 'default_cache_enable must be true or false' )
318+ }
316319 end
317320 end
318321end
You can’t perform that action at this time.
0 commit comments