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:
Jean-Philippe Lang
2009-02-12 21:25:50 +00:00
parent 5bdd429162
commit ff9da0bab0
196 changed files with 222 additions and 30207 deletions
@@ -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