Merge pull request #322 from cmurphy/master
[puppet-modules/puppetlabs-apt.git] / spec / classes / unattended_upgrades_spec.rb
index 25a1f7aed33fbdbaddf0250d0777293a1e1c5434..8494f0410d9b6f7631721673e7314e69857aea72 100644 (file)
@@ -60,8 +60,12 @@ describe 'apt::unattended_upgrades', :type => :class do
         it {
           should contain_file(file_unattended).with_content(
             /^Unattended-Upgrade::Allowed-Origins/
+          ).with_content(
+            /"\${distro_id} \${distro_codename}-lts";/
           ).with_content(
             /"\${distro_id} \${distro_codename}-security";/
+          ).with_content(
+            /"\${distro_id} oldstable";/
           )
         }
       end