summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-01-13 00:32:53 +0000
committerGo MAEDA <maeda@farend.jp>2018-01-13 00:32:53 +0000
commitf4964026347660239127998cd7cc32c295265fd2 (patch)
tree75c4542dabd9d21a0eadcf21b4513da29907a82e /test
parent679cf413ab18b7828b3c2da741d69121d83db0d5 (diff)
downloadredmine-f4964026347660239127998cd7cc32c295265fd2.tar.gz
redmine-f4964026347660239127998cd7cc32c295265fd2.zip
Add tests for "height" and "max-height" (#26552).
git-svn-id: http://svn.redmine.org/redmine/trunk@17175 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb b/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
index e0a8f7339..bbc7c9d83 100644
--- a/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
+++ b/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
@@ -80,8 +80,10 @@ class Redmine::WikiFormatting::TextileFormatterTest < ActionView::TestCase
'p{border-right:1px}. text' => '<p style="border-right:1px;">text</p>',
'p{border-top:1px}. text' => '<p style="border-top:1px;">text</p>',
'p{border-bottom:1px}. text' => '<p style="border-bottom:1px;">text</p>',
- 'p{max-width:100px}. text' => '<p style="max-width:100px;">text</p>',
'p{width:50px}. text' => '<p style="width:50px;">text</p>',
+ 'p{max-width:100px}. text' => '<p style="max-width:100px;">text</p>',
+ 'p{height:40px}. text' => '<p style="height:40px;">text</p>',
+ 'p{max-height:80px}. text' => '<p style="max-height:80px;">text</p>',
}, false)
# multiple styles