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
This commit is contained in:
parent
e67afc8886
commit
30bc5873e0
|
@ -47,6 +47,11 @@ class Redmine::WikiFormatting::MacrosTest < ActionView::TestCase
|
|||
assert_equal '<p>{{hello_world}}</p>', textilizable(text)
|
||||
end
|
||||
|
||||
def test_macro_macro_list
|
||||
text = "{{macro_list}}"
|
||||
assert_match %r{<code>hello_world</code>}, textilizable(text)
|
||||
end
|
||||
|
||||
def test_macro_include
|
||||
@project = Project.find(1)
|
||||
# include a page of the current project wiki
|
||||
|
|
Loading…
Reference in New Issue