From c778cc9208487d47d13d1c6ee256608dc5ace288 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Fri, 20 May 2011 13:51:21 -0700 Subject: [PATCH] [#415] Fix functional tests that used the older interface --- test/functional/wiki_controller_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/wiki_controller_test.rb b/test/functional/wiki_controller_test.rb index 1b1a8167..2a5f9802 100644 --- a/test/functional/wiki_controller_test.rb +++ b/test/functional/wiki_controller_test.rb @@ -88,7 +88,7 @@ class WikiControllerTest < ActionController::TestCase page = Project.find(1).wiki.find_page('New page') assert !page.new_record? assert_not_nil page.content - assert_equal 'Created the page', page.content.comments + assert_equal 'Created the page', page.content.last_journal.notes end def test_create_page_with_attachments @@ -128,7 +128,7 @@ class WikiControllerTest < ActionController::TestCase page = Wiki.find(1).pages.find_by_title('Another_page') assert_equal "edited", page.content.text assert_equal 2, page.content.version - assert_equal "my comments", page.content.comments + assert_equal "my comments", page.content.last_journal.notes end def test_update_page_with_failure