diff options
Diffstat (limited to 'test/unit/user_test.rb')
-rw-r--r-- | test/unit/user_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb index 88b254171..eff9a61ff 100644 --- a/test/unit/user_test.rb +++ b/test/unit/user_test.rb @@ -410,6 +410,7 @@ class UserTest < ActiveSupport::TestCase end def test_name_format + assert_equal 'John S.', @jsmith.name(:firstname_lastinitial) assert_equal 'Smith, John', @jsmith.name(:lastname_coma_firstname) with_settings :user_format => :firstname_lastname do assert_equal 'John Smith', @jsmith.reload.name |