Commit e198e35e authored by jplang's avatar jplang
Browse files

#assert_nothing_raised takes no arguments.

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent c584811c
...@@ -159,7 +159,7 @@ class AuthSourceLdapTest < ActiveSupport::TestCase ...@@ -159,7 +159,7 @@ class AuthSourceLdapTest < ActiveSupport::TestCase
def test_test_connection_with_correct_host_and_port def test_test_connection_with_correct_host_and_port
auth_source = AuthSourceLdap.find(1) auth_source = AuthSourceLdap.find(1)
assert_nothing_raised Net::LDAP::Error do assert_nothing_raised do
auth_source.test_connection auth_source.test_connection
end 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