summaryrefslogtreecommitdiffstats
path: root/test/unit/auth_source_ldap_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/auth_source_ldap_test.rb')
-rw-r--r--test/unit/auth_source_ldap_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/auth_source_ldap_test.rb b/test/unit/auth_source_ldap_test.rb
index 376fdf730..32feda25b 100644
--- a/test/unit/auth_source_ldap_test.rb
+++ b/test/unit/auth_source_ldap_test.rb
@@ -159,7 +159,7 @@ class AuthSourceLdapTest < ActiveSupport::TestCase
def test_test_connection_with_correct_host_and_port
auth_source = AuthSourceLdap.find(1)
- assert_nothing_raised Net::LDAP::Error do
+ assert_nothing_raised do
auth_source.test_connection
end
end