fix indents of OpenID tests in UserTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12395 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
478a23bfa3
commit
4823d03423
|
@ -1115,7 +1115,6 @@ class UserTest < ActiveSupport::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
if Object.const_defined?(:OpenID)
|
if Object.const_defined?(:OpenID)
|
||||||
|
|
||||||
def test_setting_identity_url
|
def test_setting_identity_url
|
||||||
normalized_open_id_url = 'http://example.com/'
|
normalized_open_id_url = 'http://example.com/'
|
||||||
u = User.new( :identity_url => 'http://example.com/' )
|
u = User.new( :identity_url => 'http://example.com/' )
|
||||||
|
@ -1144,9 +1143,7 @@ class UserTest < ActiveSupport::TestCase
|
||||||
u = User.new( :identity_url => 'this is not an openid url' )
|
u = User.new( :identity_url => 'this is not an openid url' )
|
||||||
assert u.identity_url.blank?
|
assert u.identity_url.blank?
|
||||||
end
|
end
|
||||||
|
|
||||||
else
|
else
|
||||||
puts "Skipping openid tests."
|
puts "Skipping openid tests."
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue