summaryrefslogtreecommitdiffstats
path: root/test/unit/auth_source_ldap_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-08-01 21:40:58 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-08-01 21:40:58 +0000
commit9f9f7993e62248f962d360dc751e43bbf841123c (patch)
treeef0d8b16f927ea35b177fff3ae6fc4655c180c34 /test/unit/auth_source_ldap_test.rb
parentae23c4ce8532f0a79bab37da0abff60f3d0df848 (diff)
downloadredmine-9f9f7993e62248f962d360dc751e43bbf841123c.tar.gz
redmine-9f9f7993e62248f962d360dc751e43bbf841123c.zip
#assert_nothing_raised takes no arguments.
git-svn-id: http://svn.redmine.org/redmine/trunk@16944 e93f8b46-1217-0410-a6f0-8f06a7374b81
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