X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=spec%2Fclasses%2Fapt_spec.rb;h=f66bf540498b7aa069383c541a34ae0cdc4dac51;hb=351c8d5941f6bd02304df6b4185dea8c8104aefa;hp=26119bfb153d2c515d05bd45085eaa9654a1862c;hpb=1139f801eb7c603c4ee10ef165f03a710ef8bf38;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/spec/classes/apt_spec.rb b/spec/classes/apt_spec.rb index 26119bf..f66bf54 100644 --- a/spec/classes/apt_spec.rb +++ b/spec/classes/apt_spec.rb @@ -110,7 +110,7 @@ describe 'apt', :type => :class do } } } it { - is_expected.to contain_apt__setting('debian_unstable').with({ + is_expected.to contain_apt__setting('list-debian_unstable').with({ 'ensure' => 'present', 'notify' => 'Exec[apt_update]', }) @@ -120,7 +120,7 @@ describe 'apt', :type => :class do it { is_expected.to contain_file('/etc/apt/sources.list.d/debian_unstable.list').with_content(/^deb-src http:\/\/debian.mirror.iweb.ca\/debian\/ unstable main contrib non-free$/) } it { - is_expected.to contain_apt__setting('puppetlabs').with({ + is_expected.to contain_apt__setting('list-puppetlabs').with({ 'ensure' => 'present', 'notify' => 'Exec[apt_update]', })