File tree Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Original file line number Diff line number Diff line change 241241 it { is_expected . to contain_exec ( '/usr/sbin/a2dismod prefork' ) }
242242 end
243243
244- context 'on Ubuntu 14 .04' do
245- include_examples 'Ubuntu 14 .04'
244+ context 'on Ubuntu 18 .04' do
245+ include_examples 'Ubuntu 18 .04'
246246
247247 it {
248248 is_expected . to contain_file ( '/var/www/html' ) . with (
Original file line number Diff line number Diff line change 4141 let ( :facts ) { on_supported_os [ 'debian-8-x86_64' ] }
4242end
4343
44- shared_context 'Ubuntu 14.04' do
45- let :facts do
46- {
47- id : 'root' ,
48- kernel : 'Linux' ,
49- osfamily : 'Debian' ,
50- operatingsystem : 'Ubuntu' ,
51- operatingsystemrelease : '14.04' ,
52- lsbdistrelease : '14.04' ,
53- path : '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' ,
54- }
55- end
44+ shared_context 'Ubuntu 18.04' do
45+ let ( :facts ) { on_supported_os [ 'ubuntu-18.04-x86_64' ] }
5646end
5747
5848shared_context 'RedHat 6' do
You can’t perform that action at this time.
0 commit comments