From cf9154f3cb3074da3520dd21c3f0304545c04876 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Mon, 11 Jul 2016 16:32:54 +0200 Subject: improve spec tests --- spec/classes/unattended_upgrades_spec.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'spec') diff --git a/spec/classes/unattended_upgrades_spec.rb b/spec/classes/unattended_upgrades_spec.rb index f6e74af..6141f63 100644 --- a/spec/classes/unattended_upgrades_spec.rb +++ b/spec/classes/unattended_upgrades_spec.rb @@ -15,7 +15,12 @@ describe 'unattended_upgrades' do } context 'with defaults on Debian' do - it { should contain_package('unattended-upgrades') } + it do + should contain_package('unattended-upgrades') + should compile.with_all_deps + should contain_class('unattended_upgrades::params') + should contain_class('unattended_upgrades') + end it { should contain_apt__conf('unattended-upgrades').with( -- cgit v1.2.3