X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=spec%2Facceptance%2Fpin_spec.rb;h=07fc6073022d84198b544c6dbd66bc61a74943d2;hb=a68eca58a658e432fbfffcd91862134082ac7dc0;hp=a38dfa4b2702d0e3e2af33b4e4e7acb35b2d4360;hpb=ef7d149d5a6b014b53b12925bb5d6638192ac08d;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/spec/acceptance/pin_spec.rb b/spec/acceptance/pin_spec.rb index a38dfa4..07fc607 100644 --- a/spec/acceptance/pin_spec.rb +++ b/spec/acceptance/pin_spec.rb @@ -1,6 +1,6 @@ require 'spec_helper_acceptance' -describe 'apt::pin define' do +describe 'apt::pin define', :unless => UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) do context 'defaults' do it 'should work with no errors' do pp = <<-EOS @@ -150,7 +150,7 @@ describe 'apt::pin define' do describe file('/etc/apt/preferences.d/vim-puppet.pref') do it { should be_file } - it { should contain 'Pin: origin "testrelease"' } + it { should contain 'Pin: origin testrelease' } end end end