diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2017-02-02 03:01:19 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2017-02-02 03:01:19 +0000 |
commit | 5a86f95d290a35274ca944c160e44d56b3a3430c (patch) | |
tree | 115111b3cf9ca7061242b995da49821f478f14b6 /test/unit/auth_source_ldap_test.rb | |
parent | d37125dfe98b295cb8dd15d7c12ed2c97a122e8d (diff) | |
download | redmine-5a86f95d290a35274ca944c160e44d56b3a3430c.tar.gz redmine-5a86f95d290a35274ca944c160e44d56b3a3430c.zip |
revert r16322 (#24970)
Some tests fail.
git-svn-id: http://svn.redmine.org/redmine/trunk@16323 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/auth_source_ldap_test.rb')
-rw-r--r-- | test/unit/auth_source_ldap_test.rb | 2 |
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 3ce7fa98e..eac13ff70 100644 --- a/test/unit/auth_source_ldap_test.rb +++ b/test/unit/auth_source_ldap_test.rb @@ -150,7 +150,7 @@ class AuthSourceLdapTest < ActiveSupport::TestCase end def test_search_with_exception_should_return_an_empty_array - Net::LDAP.stubs(:new).raises(Net::LDAP::Error, 'Cannot connect') + Net::LDAP.stubs(:new).raises(Net::LDAP::LdapError, 'Cannot connect') results = AuthSource.search("exa") assert_equal [], results |