Module sync 1d81b6a
[puppet-modules/puppetlabs-apt.git] / spec / acceptance / class_spec.rb
index e5994498b903ffec47f075de8f17a9d157d1428a..d970794d04e23542a7c66108cff2dc5906945c79 100644 (file)
@@ -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