From: Ashley Penney Date: Wed, 21 May 2014 17:38:24 +0000 (-0700) Subject: Block this from running on unsupported platforms. X-Git-Tag: 1.6.0~27^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=71ebb94283618ca99faf9c3fd9d65557f2d774d6;p=puppet-modules%2Fpuppetlabs-apt.git Block this from running on unsupported platforms. --- diff --git a/spec/acceptance/apt_key_provider_spec.rb b/spec/acceptance/apt_key_provider_spec.rb index 1d39a97..9becd25 100644 --- a/spec/acceptance/apt_key_provider_spec.rb +++ b/spec/acceptance/apt_key_provider_spec.rb @@ -7,7 +7,7 @@ CENTOS_GPG_KEY_ID = 'C105B9DE' CENTOS_REPO_URL = 'ftp.cvut.cz/centos' 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 shell("apt-key del #{PUPPETLABS_GPG_KEY_ID}", :acceptable_exit_codes => [0,1,2])