+ 'pin' => 200,
+ })
+ }
+ end
+
+ describe "when turning on backports for linux mint debian edition" do
+
+ let :facts do
+ {
+ 'lsbdistcodename' => 'debian',
+ 'lsbdistid' => 'LinuxMint',
+ 'osfamily' => 'Debian'
+ }
+ end
+
+ it { should contain_apt__source('backports').with({
+ 'location' => 'http://ftp.debian.org/debian/',
+ 'release' => 'wheezy-backports',
+ 'repos' => 'main contrib non-free',
+ 'key' => '46925553',
+ 'key_server' => 'pgp.mit.edu',
+ 'pin' => 200,
+ })
+ }
+ end
+
+ describe "when turning on backports for linux mint 17 (ubuntu-based)" do
+
+ let :facts do
+ {
+ 'lsbdistcodename' => 'qiana',
+ 'lsbdistid' => 'LinuxMint',
+ 'osfamily' => 'Debian'
+ }
+ end
+
+ it { should contain_apt__source('backports').with({
+ 'location' => 'http://us.archive.ubuntu.com/ubuntu',
+ 'release' => 'trusty-backports',
+ 'repos' => 'main universe multiverse restricted',
+ 'key' => '437D05B5',
+ 'key_server' => 'pgp.mit.edu',
+ 'pin' => 200,