]> source.dussan.org Git - redmine.git/commitdiff
#new is just fine.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 18 Dec 2011 10:43:32 +0000 (10:43 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 18 Dec 2011 10:43:32 +0000 (10:43 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8282 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/helpers/application_helper_test.rb

index ef649aeeb923bd9398e9df4385951d95131185e8..f6988b347d06ba9b494809578b47a2cd84b239dc 100644 (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