Add the FrozenStrings magic comment
[puppet-modules/puppetlabs-apt.git] / spec / acceptance / 01_apt_class_spec.rb
1 # frozen_string_literal: true
2
3 require 'spec_helper_acceptance'
4
5 describe 'apt class' do
6   context 'with default parameters' do
7     # Using puppet_apply as a helper
8     it 'works with no errors' do
9       pp = <<-MANIFEST
10       class { 'apt': }
11       MANIFEST
12
13       # Run it twice and test for idempotency
14       apply_manifest(pp, catch_failures: true)
15       apply_manifest(pp, catch_changes: true)
16     end
17   end
18 end