diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-10-01 07:08:04 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-10-01 07:08:04 +0000 |
commit | a29854707b30d74f43b448f288c7663cbd6066d3 (patch) | |
tree | 9d76a8ad896acd400e50159a30031f385ffa0f1f /test/unit/user_test.rb | |
parent | de0e0f09a33b20170468d9fdc67c4b5b7ac085d2 (diff) | |
download | redmine-a29854707b30d74f43b448f288c7663cbd6066d3.tar.gz redmine-a29854707b30d74f43b448f288c7663cbd6066d3.zip |
add new user format "lastname" (#10937)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10543 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/user_test.rb')
-rw-r--r-- | test/unit/user_test.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb index 1f4d89657..20056406b 100644 --- a/test/unit/user_test.rb +++ b/test/unit/user_test.rb @@ -417,6 +417,9 @@ class UserTest < ActiveSupport::TestCase with_settings :user_format => :username do assert_equal 'jsmith', @jsmith.reload.name end + with_settings :user_format => :lastname do + assert_equal 'Smith', @jsmith.reload.name + end end def test_today_should_return_the_day_according_to_user_time_zone |