mirror of
https://github.com/redmine/redmine.git
synced 2025-11-03 20:06:24 +01:00
#assert_nothing_raised takes no arguments.
git-svn-id: http://svn.redmine.org/redmine/trunk@16944 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user