Fixes LDAP test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9045 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-03-01 19:47:03 +00:00
parent 60741b3e1c
commit ac46497f1a

View File

@ -483,7 +483,7 @@ class UserTest < ActiveSupport::TestCase
context "on the fly registration" do
setup do
@auth_source = AuthSourceLdap.find(1)
@auth.update_attribute :onthefly_register, true
@auth_source.update_attribute :onthefly_register, true
end
context "with a successful authentication" do