From f4964026347660239127998cd7cc32c295265fd2 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Sat, 13 Jan 2018 00:32:53 +0000 Subject: [PATCH] Add tests for "height" and "max-height" (#26552). git-svn-id: http://svn.redmine.org/redmine/trunk@17175 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .../lib/redmine/wiki_formatting/textile_formatter_test.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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' => '

text

', 'p{border-top:1px}. text' => '

text

', 'p{border-bottom:1px}. text' => '

text

', - 'p{max-width:100px}. text' => '

text

', 'p{width:50px}. text' => '

text

', + 'p{max-width:100px}. text' => '

text

', + 'p{height:40px}. text' => '

text

', + 'p{max-height:80px}. text' => '

text

', }, false) # multiple styles