Skip to content

Commit 145aa54

Browse files
committed
Replace Ubuntu 14.04 tests with 18.04
1 parent e1c18d1 commit 145aa54

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

spec/classes/apache_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@
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(

spec/spec_helper_local.rb

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,8 @@
4141
let(:facts) { on_supported_os['debian-8-x86_64'] }
4242
end
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'] }
5646
end
5747

5848
shared_context 'RedHat 6' do

0 commit comments

Comments
 (0)