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