class NormalizeTest
Constants
- NORMALIZATIONS
Public Instance Methods
test_broken_open_id()
click to toggle source
# File lib/plugins/open_id_authentication/test/normalize_test.rb, line 29 def test_broken_open_id assert_raises(InvalidOpenId) { normalize_identifier(nil) } end
test_normalizations()
click to toggle source
# File lib/plugins/open_id_authentication/test/normalize_test.rb, line 23 def test_normalizations NORMALIZATIONS.each do |from, to| assert_equal to, normalize_identifier(from) end end