comparison test/functional/account_controller_openid_test.rb @ 1517:dffacf8a6908 redmine-2.5

Update to Redmine SVN revision 13367 on 2.5-stable branch
author Chris Cannam
date Tue, 09 Sep 2014 09:29:00 +0100
parents e248c7af89ec
children
comparison
equal deleted inserted replaced
1516:b450a9d58aed 1517:dffacf8a6908
155 :identity_url => 'http://openid.example.com/good_blank_user' 155 :identity_url => 'http://openid.example.com/good_blank_user'
156 } 156 }
157 assert_response 302 157 assert_response 302
158 end 158 end
159 159
160 user = User.first(:order => 'id DESC') 160 user = User.order('id DESC').first
161 assert_equal 'http://openid.example.com/good_blank_user', user.identity_url 161 assert_equal 'http://openid.example.com/good_blank_user', user.identity_url
162 assert user.hashed_password.blank?, "Hashed password was #{user.hashed_password}" 162 assert user.hashed_password.blank?, "Hashed password was #{user.hashed_password}"
163 end 163 end
164 164
165 def test_setting_openid_should_return_true_when_set_to_true 165 def test_setting_openid_should_return_true_when_set_to_true