]> source.dussan.org Git - redmine.git/commitdiff
#assert_nothing_raised takes no arguments.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 1 Aug 2017 21:40:58 +0000 (21:40 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 1 Aug 2017 21:40:58 +0000 (21:40 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@16944 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/auth_source_ldap_test.rb

index 376fdf730b0e9cbc412ae9dde7814660694bae19..32feda25b904cef745cad6285a2c5cfe6b8feace 100644 (file)
@@ -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