diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-06-17 08:48:23 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-06-17 08:48:23 +0000 |
commit | 7017874cc971d77448eb81ece974d061b2ca3a30 (patch) | |
tree | 72d8f5a5453753e52342c1391799f50fadeff384 /test | |
parent | 4120b59e10241e9910cacd7c78124ffc10426d96 (diff) | |
download | redmine-7017874cc971d77448eb81ece974d061b2ca3a30.tar.gz redmine-7017874cc971d77448eb81ece974d061b2ca3a30.zip |
Link to user by id (#4179).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@16671 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/helpers/application_helper_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb index 678dcfda5..d58c7a633 100644 --- a/test/unit/helpers/application_helper_test.rb +++ b/test/unit/helpers/application_helper_test.rb @@ -386,6 +386,7 @@ RAW "http://foo.bar/FAQ#3" => '<a class="external" href="http://foo.bar/FAQ#3">http://foo.bar/FAQ#3</a>', # user 'user:jsmith' => link_to_user(User.find_by_id(2)), + 'user#2' => link_to_user(User.find_by_id(2)), '@jsmith' => link_to_user(User.find_by_id(2)), # invalid user 'user:foobar' => 'user:foobar', |