Update CODEOWNERS
[puppet-modules/puppetlabs-apt.git] / spec / classes / apt_spec.rb
index cb65c1e0012a12193a03ac9e6d854f3838ad38d6..51cc7eb459080d331faca4f4d37804a97a8a7cd7 100644 (file)
@@ -415,10 +415,11 @@ describe 'apt' do
             super().merge(manage_auth_conf: true)
           end
 
-          auth_conf_content = "// This file is managed by Puppet. DO NOT EDIT.
-machine deb.example.net login foologin password secret
-machine apt.example.com login aptlogin password supersecret
-"
+          auth_conf_content = <<~CONTENT
+            // This file is managed by Puppet. DO NOT EDIT.
+            machine deb.example.net login foologin password secret
+            machine apt.example.com login aptlogin password supersecret
+          CONTENT
 
           it {
             expect(subject).to contain_file('/etc/apt/auth.conf').with(ensure: 'present',