summaryrefslogtreecommitdiffstats
path: root/test/unit/helpers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-18 10:43:32 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-18 10:43:32 +0000
commit8a563e8f577601ba6f6c91b54b37e74b7696cd42 (patch)
tree442d504d0cbf883c4504c8d11f16d67dc757d8b0 /test/unit/helpers
parenta79357bc280569670949a2ff2be178bfe791706f (diff)
downloadredmine-8a563e8f577601ba6f6c91b54b37e74b7696cd42.tar.gz
redmine-8a563e8f577601ba6f6c91b54b37e74b7696cd42.zip
#new is just fine.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8282 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/helpers')
-rw-r--r--test/unit/helpers/application_helper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb
index ef649aeeb..f6988b347 100644
--- a/test/unit/helpers/application_helper_test.rb
+++ b/test/unit/helpers/application_helper_test.rb
@@ -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