Commit 1cfe2961 authored by James Lopez's avatar James Lopez

fix rubocop offences

parent eb95169f
......@@ -11,8 +11,8 @@ describe EE::Gitlab::LDAP::UserFilter do
before do
stub_ldap_config(
base: 'dc=example,dc=com',
active_directory: false
base: 'dc=example,dc=com',
active_directory: false
)
end
......@@ -28,7 +28,7 @@ describe EE::Gitlab::LDAP::UserFilter do
it 'errors out with an invalid filter' do
filter = ')('
expect{ described_class.filter(fake_proxy, filter) }.to raise_error(Net::LDAP::FilterSyntaxInvalidError, 'Invalid filter syntax.')
expect { described_class.filter(fake_proxy, filter) }.to raise_error(Net::LDAP::FilterSyntaxInvalidError, 'Invalid filter syntax.')
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment