diff --git a/test/unit/lib/redmine/wiki_formatting/macros_test.rb b/test/unit/lib/redmine/wiki_formatting/macros_test.rb index 8c470b877..704e74528 100644 --- a/test/unit/lib/redmine/wiki_formatting/macros_test.rb +++ b/test/unit/lib/redmine/wiki_formatting/macros_test.rb @@ -47,6 +47,11 @@ class Redmine::WikiFormatting::MacrosTest < ActionView::TestCase assert_equal '
{{hello_world}}
', textilizable(text) end + def test_macro_macro_list + text = "{{macro_list}}" + assert_match %r{hello_world
}, textilizable(text)
+ end
+
def test_macro_include
@project = Project.find(1)
# include a page of the current project wiki