X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=spec%2Facceptance%2Fclass_spec.rb;h=d970794d04e23542a7c66108cff2dc5906945c79;hb=fd53569ee8a3c16ba5f9ab1b5ae9782290e5f168;hp=e5994498b903ffec47f075de8f17a9d157d1428a;hpb=7875745a8b5fe116df52f39c456e7b40c68c59a1;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/spec/acceptance/class_spec.rb b/spec/acceptance/class_spec.rb index e599449..d970794 100644 --- a/spec/acceptance/class_spec.rb +++ b/spec/acceptance/class_spec.rb @@ -1,17 +1,16 @@ 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 - it 'should work with no errors' do + it 'works with no errors' do pp = <<-EOS class { 'apt': } EOS # Run it twice and test for idempotency - apply_manifest(pp, :catch_failures => true) - apply_manifest(pp, :catch_failures => true) + apply_manifest(pp, catch_failures: true) + apply_manifest(pp, catch_changes: true) end end end