summaryrefslogtreecommitdiffstats
path: root/test/unit/user_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-03-01 19:47:03 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-03-01 19:47:03 +0000
commitac46497f1abd9e2e69a0b3c4848d8825847d1934 (patch)
treed3f301f40f2a202f1a8d718566a141c2dced70e3 /test/unit/user_test.rb
parent60741b3e1c025f50e93e6f5847716ed930b319a0 (diff)
downloadredmine-ac46497f1abd9e2e69a0b3c4848d8825847d1934.tar.gz
redmine-ac46497f1abd9e2e69a0b3c4848d8825847d1934.zip
Fixes LDAP test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9045 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/user_test.rb')
-rw-r--r--test/unit/user_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb
index 738bd7768..bb325165d 100644
--- a/test/unit/user_test.rb
+++ b/test/unit/user_test.rb
@@ -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