Browse files

the persistent token only gets reset when the identifier actually cha…

…nges; but the new OpenID package normalizer is less lenient than the old code and thus simply "new" isn't valid anymore, which is why the test case was failing.
  • Loading branch information...
1 parent 88a26af commit d350dce012ba20361f7b604e9375e6a905ec5fe1 @mreinsch mreinsch committed Mar 18, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/acts_as_authentic_test.rb
@@ -50,7 +50,7 @@ def test_validates_uniqueness_of_openid_identifier
def test_setting_openid_identifier_changed_persistence_token
ben = users(:ben)
old_persistence_token = ben.persistence_token
- ben.openid_identifier = "new"
+ ben.openid_identifier = "http://new"
assert_not_equal old_persistence_token, ben.persistence_token

0 comments on commit d350dce

Please sign in to comment.