Removes the fat ruby-openid gem. Simply use 'gem install ruby-openid' to enable openid support.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2458 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -64,6 +64,8 @@ class AccountControllerTest < Test::Unit::TestCase
|
||||
:content => /Invalid user or password/
|
||||
end
|
||||
|
||||
if Object.const_defined?(:OpenID)
|
||||
|
||||
def test_login_with_openid_for_existing_user
|
||||
Setting.self_registration = '3'
|
||||
Setting.openid = '1'
|
||||
@@ -134,6 +136,11 @@ class AccountControllerTest < Test::Unit::TestCase
|
||||
assert_equal 'http://openid.example.com/good_user', assigns(:user)[:identity_url]
|
||||
end
|
||||
|
||||
else
|
||||
puts "Skipping openid tests."
|
||||
end
|
||||
|
||||
|
||||
def test_autologin
|
||||
Setting.autologin = "7"
|
||||
Token.delete_all
|
||||
|
||||
Reference in New Issue
Block a user