X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=spec%2Facceptance%2Fforce_spec.rb;h=a43902300d7c0c1067db5660ee82396186eda631;hb=4d0bf7cbab1fc9c9fd0ff174315e69262cfe5f68;hp=aab77a1a766497fd9ad702f71ffa57aadfe73023;hpb=f9e2fe2a7ce3b2aee5535591b9f6882c29ccc2cb;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/spec/acceptance/force_spec.rb b/spec/acceptance/force_spec.rb index aab77a1..a439023 100644 --- a/spec/acceptance/force_spec.rb +++ b/spec/acceptance/force_spec.rb @@ -2,12 +2,12 @@ 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 include apt - apt::force { 'vim': release => false, } + apt::force { 'vim': } EOS shell('apt-get remove -y vim') @@ -41,7 +41,7 @@ describe 'apt::force define' do it 'should work with no errors' do pp = <<-EOS include apt - apt::force { 'vim': version => '1.1.1', release => false, } + apt::force { 'vim': version => '1.1.1' } EOS shell('apt-get remove -y vim') @@ -59,7 +59,7 @@ describe 'apt::force define' do it 'should work with no errors' do pp = <<-EOS include apt - apt::force { 'vim': release => false, timeout => '1' } + apt::force { 'vim': timeout => '1' } EOS shell('apt-get clean')