From 30bc5873e0b8f51209fa16976d6cb4c44041cb67 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 3 Dec 2011 15:25:02 +0000 Subject: Adds a test for macro_list wiki macro. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8053 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/lib/redmine/wiki_formatting/macros_test.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test') 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 -- cgit v1.2.3