X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=spec%2Facceptance%2Fforce_spec.rb;h=5f4dec3fc76487705b147c368a3563bf194da2e3;hb=e970aa9a6dc68ae9ab1d38655352090c330c67bc;hp=c364d5fe157fdb05ea4b7e2fa6ff235841e3ee8d;hpb=4b8aa9e55a25d63db0c1c6fcf22a6333f1810e76;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/spec/acceptance/force_spec.rb b/spec/acceptance/force_spec.rb index c364d5f..5f4dec3 100644 --- a/spec/acceptance/force_spec.rb +++ b/spec/acceptance/force_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper_acceptance' codename = fact('lsbdistcodename') -describe 'apt::force define' do +describe 'apt::force define', :unless => UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) do context 'defaults' do it 'should work with no errors' do pp = <<-EOS @@ -59,7 +59,7 @@ describe 'apt::force define' do it 'should work with no errors' do pp = <<-EOS include apt - apt::force { 'vim': timeout => '1' } + apt::force { 'ocaml': timeout => '1' } EOS shell('apt-get clean') @@ -68,7 +68,7 @@ describe 'apt::force define' do end end - describe package('vim') do + describe package('ocaml') do it { should_not be_installed } end end