Update unit test to support Sensitive data type
[puppet-modules/puppetlabs-apt.git] / spec / classes / apt_spec.rb
index 84c65745bd19d81f78154cde5ba5dbf33d2cd4f9..03ca86f52f6c3d4e7f974531907829d48269c230 100644 (file)
@@ -365,7 +365,7 @@ machine apt.example.com login aptlogin password supersecret
                                                                    group: 'root',
                                                                    mode: '0600',
                                                                    notify: 'Class[Apt::Update]',
-                                                                   content: auth_conf_content)
+                                                                   content: sensitive(auth_conf_content))
           }
         end