Silence rubocop

This commit is contained in:
Zach Leslie 2018-06-02 20:24:58 -07:00
parent 76dc01acc0
commit 61de897b28
2 changed files with 4 additions and 1 deletions

View File

@ -539,6 +539,9 @@ Layout/IndentHeredoc:
Security/YAMLLoad: Security/YAMLLoad:
Enabled: false Enabled: false
Security/MarshalLoad:
Enabled: false
# This affects hiera interpolation, as well as some configs that we push. # This affects hiera interpolation, as well as some configs that we push.
Style/FormatStringToken: Style/FormatStringToken:
Enabled: false Enabled: false

View File

@ -44,7 +44,7 @@ describe 'PuppetX::LDAPquery' do
filter = '(uid=zach)' filter = '(uid=zach)'
attributes = ['objectClass'] attributes = ['objectClass']
wanted = [{ 'dn' => ['uid=zach,ou=users,dc=puppetlabs,dc=com'], 'objectclass' => %w(posixAccount shadowAccount inetOrgPerson puppetPerson ldapPublicKey top) }] wanted = [{ 'dn' => ['uid=zach,ou=users,dc=puppetlabs,dc=com'], 'objectclass' => %w[posixAccount shadowAccount inetOrgPerson puppetPerson ldapPublicKey top] }]
entries = Marshal.load(File.read('spec/fixtures/entries_objectClass.obj')) entries = Marshal.load(File.read('spec/fixtures/entries_objectClass.obj'))