#new is just fine.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8282 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2011-12-18 10:43:32 +00:00
parent a79357bc28
commit 8a563e8f57
1 changed files with 1 additions and 1 deletions

View File

@ -510,7 +510,7 @@ RAW
@project = Project.find(1)
to_test.each { |text, result| assert_equal "<p>#{result}</p>", textilizable(WikiContent.generate!( :text => text, :page => page ), :text) }
to_test.each { |text, result| assert_equal "<p>#{result}</p>", textilizable(WikiContent.new( :text => text, :page => page ), :text) }
end
def test_wiki_links_anchor_option_should_prepend_page_title_to_href