diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-06-01 11:04:35 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-06-01 11:04:35 +0000 |
commit | 6253ea840c5773ae6b373fd2025969bf276c8318 (patch) | |
tree | 520d3926f3dd463f840aee299f4866d485fd19be /test/mocks | |
parent | 78c35619edaed3f80993e8820e5324a12cb134e0 (diff) | |
download | redmine-6253ea840c5773ae6b373fd2025969bf276c8318.tar.gz redmine-6253ea840c5773ae6b373fd2025969bf276c8318.zip |
remove trailing white-spaces and code clean up test/mocks/open_id_authentication_mock.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5988 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/mocks')
-rw-r--r-- | test/mocks/open_id_authentication_mock.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/mocks/open_id_authentication_mock.rb b/test/mocks/open_id_authentication_mock.rb index cca1e9edb..10d195e07 100644 --- a/test/mocks/open_id_authentication_mock.rb +++ b/test/mocks/open_id_authentication_mock.rb @@ -1,16 +1,16 @@ # Mocks out OpenID # # http://www.northpub.com/articles/2007/04/02/testing-openid-support -module OpenIdAuthentication +module OpenIdAuthentication - EXTENSION_FIELDS = {'email' => 'user@somedomain.com', + EXTENSION_FIELDS = {'email' => 'user@somedomain.com', 'nickname' => 'cool_user', - 'country' => 'US', + 'country' => 'US', 'postcode' => '12345', 'fullname' => 'Cool User', - 'dob' => '1970-04-01', + 'dob' => '1970-04-01', 'language' => 'en', - 'timezone' => 'America/New_York'} + 'timezone' => 'America/New_York'} protected @@ -31,7 +31,7 @@ module OpenIdAuthentication yield Result[:successful], identity_url , extension_response_fields else - logger.info "OpenID authentication failed: #{identity_url}" + logger.info "OpenID authentication failed: #{identity_url}" yield Result[:failed], identity_url, nil end end |