summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-02-18 05:29:35 +0000
committerGo MAEDA <maeda@farend.jp>2018-02-18 05:29:35 +0000
commit7e39185ec293d6c6f28c67217756e6277fbb371f (patch)
treee7aafed8150815813d79e2eaeeb23c4886f072df /test
parentd94b9a16c21cf5b159853a8d4750b0b397e2ce3c (diff)
downloadredmine-7e39185ec293d6c6f28c67217756e6277fbb371f.tar.gz
redmine-7e39185ec293d6c6f28c67217756e6277fbb371f.zip
3.3-stable: Too large avatar breaks gantt when assignee is a group (#28204).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@17203 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/helpers/application_helper_test.rb1
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 2285944af..ff8e4e28e 100644
--- a/test/unit/helpers/application_helper_test.rb
+++ b/test/unit/helpers/application_helper_test.rb
@@ -1307,6 +1307,7 @@ RAW
assert_match tag_for_anonymous_re, avatar(nil)
# Avatar for anonymous user
assert_match tag_for_anonymous_re, avatar(User.anonymous)
+ assert avatar(User.anonymous, :size => 24).include?('width="24" height="24"')
end
end