Merge pull request #300 from apenney/fix-tests

Block this from running on unsupported platforms.
This commit is contained in:
Ashley Penney 2014-05-21 10:39:17 -07:00
parent f335066378
commit ba074344fe

View file

@ -7,7 +7,7 @@ CENTOS_GPG_KEY_ID = 'C105B9DE'
CENTOS_REPO_URL = 'ftp.cvut.cz/centos' CENTOS_REPO_URL = 'ftp.cvut.cz/centos'
CENTOS_GPG_KEY_FILE = 'RPM-GPG-KEY-CentOS-6' CENTOS_GPG_KEY_FILE = 'RPM-GPG-KEY-CentOS-6'
describe 'apt_key' do describe 'apt_key', :unless => UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) do
before(:each) do before(:each) do
shell("apt-key del #{PUPPETLABS_GPG_KEY_ID}", shell("apt-key del #{PUPPETLABS_GPG_KEY_ID}",
:acceptable_exit_codes => [0,1,2]) :acceptable_exit_codes => [0,1,2])