From 1096f59d67eecef52406e0ae83ec2dada5fde5bb Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Thu, 26 May 2016 10:39:41 +0200 Subject: mock lsbdistrelease on ubuntu --- spec/classes/unattended_upgrades_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'spec') diff --git a/spec/classes/unattended_upgrades_spec.rb b/spec/classes/unattended_upgrades_spec.rb index 7bc7365..fea0ec0 100644 --- a/spec/classes/unattended_upgrades_spec.rb +++ b/spec/classes/unattended_upgrades_spec.rb @@ -195,6 +195,7 @@ describe 'unattended_upgrades' do lsbdistid: 'Ubuntu', lsbdistcodename: 'precise', lsbrelease: '12.04', + lsbdistrelease: '12.04', } } it { should create_file(file_unattended).with( @@ -216,6 +217,7 @@ describe 'unattended_upgrades' do lsbdistid: 'Ubuntu', lsbdistcodename: 'trusty', lsbrelease: '14.04', + lsbdistrelease: '14.04', } } it { should create_file(file_unattended).with( @@ -237,6 +239,7 @@ describe 'unattended_upgrades' do lsbdistid: 'Ubuntu', lsbdistcodename: 'vivid', lsbrelease: '15.04', + lsbdistrelease: '15.04', } } it { should create_file(file_unattended).with( @@ -258,6 +261,7 @@ describe 'unattended_upgrades' do lsbdistid: 'Ubuntu', lsbdistcodename: 'wily', lsbrelease: '15.10', + lsbdistrelease: '15.10', } } it { should create_file(file_unattended).with( -- cgit v1.2.3