summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-24 05:26:11 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-24 05:26:11 +0000
commit9b362ca0433edf0e0f172f60298626515fcdff89 (patch)
tree13ba7952fc85a6b5865d06f7b19456440441b0d0 /test
parent4317915d556a98c1fb647266da0219da7a42179c (diff)
downloadredmine-9b362ca0433edf0e0f172f60298626515fcdff89.tar.gz
redmine-9b362ca0433edf0e0f172f60298626515fcdff89.zip
cleanup: rubocop: fix Layout/SpaceInsideParens in test/unit/user_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19227 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/user_test.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb
index 582c88200..28de74263 100644
--- a/test/unit/user_test.rb
+++ b/test/unit/user_test.rb
@@ -1291,30 +1291,30 @@ class UserTest < ActiveSupport::TestCase
if Object.const_defined?(:OpenID)
def test_setting_identity_url
normalized_open_id_url = 'http://example.com/'
- u = User.new( :identity_url => 'http://example.com/' )
+ u = User.new(:identity_url => 'http://example.com/')
assert_equal normalized_open_id_url, u.identity_url
end
def test_setting_identity_url_without_trailing_slash
normalized_open_id_url = 'http://example.com/'
- u = User.new( :identity_url => 'http://example.com' )
+ u = User.new(:identity_url => 'http://example.com')
assert_equal normalized_open_id_url, u.identity_url
end
def test_setting_identity_url_without_protocol
normalized_open_id_url = 'http://example.com/'
- u = User.new( :identity_url => 'example.com' )
+ u = User.new(:identity_url => 'example.com')
assert_equal normalized_open_id_url, u.identity_url
end
def test_setting_blank_identity_url
- u = User.new( :identity_url => 'example.com' )
+ u = User.new(:identity_url => 'example.com')
u.identity_url = ''
assert u.identity_url.blank?
end
def test_setting_invalid_identity_url
- 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?
end
else