Fix broken unit tests
This commit is contained in:
parent
e626423b57
commit
1534042c93
6 changed files with 12 additions and 30 deletions
|
@ -1,15 +0,0 @@
|
|||
require 'spec_helper'
|
||||
describe 'apt::debian::testing', :type => :class do
|
||||
let(:facts) { { :lsbdistid => 'Debian', :osfamily => 'Debian' } }
|
||||
it {
|
||||
should contain_apt__source("debian_testing").with({
|
||||
"location" => "http://debian.mirror.iweb.ca/debian/",
|
||||
"release" => "testing",
|
||||
"repos" => "main contrib non-free",
|
||||
"required_packages" => "debian-keyring debian-archive-keyring",
|
||||
"key" => "46925553",
|
||||
"key_server" => "subkeys.pgp.net",
|
||||
"pin" => "-10"
|
||||
})
|
||||
}
|
||||
end
|
|
@ -1,15 +0,0 @@
|
|||
require 'spec_helper'
|
||||
describe 'apt::debian::unstable', :type => :class do
|
||||
let(:facts) { { :lsbdistid => 'Debian', :osfamily => 'Debian' } }
|
||||
it {
|
||||
should contain_apt__source("debian_unstable").with({
|
||||
"location" => "http://debian.mirror.iweb.ca/debian/",
|
||||
"release" => "unstable",
|
||||
"repos" => "main contrib non-free",
|
||||
"required_packages" => "debian-keyring debian-archive-keyring",
|
||||
"key" => "46925553",
|
||||
"key_server" => "subkeys.pgp.net",
|
||||
"pin" => "-10"
|
||||
})
|
||||
}
|
||||
end
|
|
@ -1,5 +1,8 @@
|
|||
require 'spec_helper'
|
||||
describe 'apt::conf', :type => :define do
|
||||
let :pre_condition do
|
||||
'class { "apt": }'
|
||||
end
|
||||
let(:facts) { { :lsbdistid => 'Debian', :osfamily => 'Debian' } }
|
||||
let :title do
|
||||
'norecommends'
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
require 'spec_helper'
|
||||
describe 'apt::pin', :type => :define do
|
||||
let :pre_condition do
|
||||
'class { "apt": }'
|
||||
end
|
||||
let(:facts) { { :lsbdistid => 'Debian', :osfamily => 'Debian' } }
|
||||
let(:title) { 'my_pin' }
|
||||
|
||||
|
|
|
@ -68,6 +68,9 @@ describe 'apt::ppa', :type => :define do
|
|||
end
|
||||
|
||||
describe 'ensure absent' do
|
||||
let :pre_condition do
|
||||
'class { "apt": }'
|
||||
end
|
||||
let :facts do
|
||||
{
|
||||
:lsbdistrelease => '14.04',
|
||||
|
|
|
@ -3,6 +3,9 @@ require 'spec_helper'
|
|||
describe 'apt::source', :type => :define do
|
||||
GPG_KEY_ID = '47B320EB4C7C375AA9DAE1A01054B7A24BD6EC30'
|
||||
|
||||
let :pre_condition do
|
||||
'class { "apt": }'
|
||||
end
|
||||
|
||||
let :title do
|
||||
'my_source'
|
||||
|
|
Loading…
Reference in a new issue