mirror of
https://github.com/philippdieter/puppet-ldapquery.git
synced 2025-10-13 12:55:48 +00:00
Silence rubocop
This commit is contained in:
parent
76dc01acc0
commit
61de897b28
@ -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
|
||||||
|
@ -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'))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user