pdksync_heads/master-0-g34e3266
[puppet-modules/puppetlabs-apt.git] / spec / acceptance / class_spec.rb
index 1539a0dd125a5860d347df09daf91b5c7a49caa3..53d75f6c9e18e76163a7a58f4403328e2d875e32 100644 (file)
@@ -1,17 +1,16 @@
 require 'spec_helper_acceptance'
 
 describe 'apt class' do
-
-  context 'default parameters' do
+  context 'with default parameters' do
     # Using puppet_apply as a helper
-    it 'should work with no errors' do
-      pp = <<-EOS
+    it 'works with no errors' do
+      pp = <<-MANIFEST
       class { 'apt': }
-      EOS
+      MANIFEST
 
       # Run it twice and test for idempotency
-      apply_manifest(pp, :catch_failures => true)
-      apply_manifest(pp, :catch_changes => true)
+      apply_manifest(pp, catch_failures: true)
+      apply_manifest(pp, catch_changes: true)
     end
   end
 end