From 76ad136b2a46e626f398872a71fa04fa4ad29743 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 18 Dec 2011 12:30:00 +0000 Subject: [PATCH] #new is just fine. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8284 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/helpers/application_helper_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb index f6988b347..c98007790 100644 --- a/test/unit/helpers/application_helper_test.rb +++ b/test/unit/helpers/application_helper_test.rb @@ -702,8 +702,8 @@ EXPECTED end def test_headings_in_wiki_single_page_export_should_be_prepended_with_page_title - page = WikiPage.generate!( :title => 'Page Title' ) - content = WikiContent.generate!( :text => 'h1. Some heading', :page => page ) + page = WikiPage.new( :title => 'Page Title', :wiki_id => 1 ) + content = WikiContent.new( :text => 'h1. Some heading', :page => page ) expected = %|\n

Some heading

|