Add spec test for add-apt-repository
[puppet-modules/puppetlabs-apt.git] / spec / defines / mark_spec.rb
index 922851047ff1cedfa4b40b4866633837791fcd20..b451bedd30673e20813b4519a91619a49e40c174 100644 (file)
@@ -9,10 +9,18 @@ describe 'apt::mark', type: :define do
 
   let :facts do
     {
-      os: { family: 'Debian', name: 'Debian', release: { major: '8', full: '8.0' } },
-      lsbdistid: 'Debian',
-      lsbdistcodename: 'jessie',
-      osfamily: 'Debian',
+      os: {
+        family: 'Debian',
+        name: 'Debian',
+        release: {
+          major: '9',
+          full: '9.0',
+        },
+        distro: {
+          codename: 'stretch',
+          id: 'Debian',
+        },
+      },
     }
   end