X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=spec%2Facceptance%2Fclass_spec.rb;h=1539a0dd125a5860d347df09daf91b5c7a49caa3;hb=d7af638793b6f5b6c5af6562923fa9ee0b025e1d;hp=e5994498b903ffec47f075de8f17a9d157d1428a;hpb=f6816c6bb3ec29594c792c1bac05d264c99fcdfd;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/spec/acceptance/class_spec.rb b/spec/acceptance/class_spec.rb index e599449..1539a0d 100644 --- a/spec/acceptance/class_spec.rb +++ b/spec/acceptance/class_spec.rb @@ -1,6 +1,6 @@ require 'spec_helper_acceptance' -describe 'apt class', :unless => UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) do +describe 'apt class' do context 'default parameters' do # Using puppet_apply as a helper @@ -11,7 +11,7 @@ describe 'apt class', :unless => UNSUPPORTED_PLATFORMS.include?(fact('osfamily') # Run it twice and test for idempotency apply_manifest(pp, :catch_failures => true) - apply_manifest(pp, :catch_failures => true) + apply_manifest(pp, :catch_changes => true) end end end