summaryrefslogtreecommitdiffstats
path: root/test/functional/account_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-02-19 21:03:08 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-02-19 21:03:08 +0000
commit9525e5f147a85c4be42a875685625c69bd8ed094 (patch)
tree36a7e57493c2765b54b7a1f90b5418a52c3bac4b /test/functional/account_controller_test.rb
parent5966f71c734b75bfabf5c6fae0cf6e5cbec4178a (diff)
downloadredmine-9525e5f147a85c4be42a875685625c69bd8ed094.tar.gz
redmine-9525e5f147a85c4be42a875685625c69bd8ed094.zip
Fixes Setting.openid? (#2764).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2481 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/account_controller_test.rb')
-rw-r--r--test/functional/account_controller_test.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/account_controller_test.rb b/test/functional/account_controller_test.rb
index c5a78dad2..83cb40558 100644
--- a/test/functional/account_controller_test.rb
+++ b/test/functional/account_controller_test.rb
@@ -136,6 +136,11 @@ class AccountControllerTest < Test::Unit::TestCase
assert_equal 'http://openid.example.com/good_user', assigns(:user)[:identity_url]
end
+ def test_setting_openid_should_return_true_when_set_to_true
+ Setting.openid = '1'
+ assert_equal true, Setting.openid?
+ end
+
else
puts "Skipping openid tests."
end