From 4185a4ae3b1a6f9592dc4c80a37875e4c57347f2 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 1 Mar 2013 11:27:55 +0000 Subject: [PATCH] Test failures (#13309). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11512 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/helpers/application_helper_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb index d0eb30b93..17219cf2a 100644 --- a/test/unit/helpers/application_helper_test.rb +++ b/test/unit/helpers/application_helper_test.rb @@ -260,9 +260,9 @@ RAW def test_redmine_links issue_link = link_to('#3', {:controller => 'issues', :action => 'show', :id => 3}, - :class => 'issue status-1 priority-4 priority-lowest overdue', :title => 'Error 281 when updating a recipe (New)') + :class => Issue.find(3).css_classes, :title => 'Error 281 when updating a recipe (New)') note_link = link_to('#3', {:controller => 'issues', :action => 'show', :id => 3, :anchor => 'note-14'}, - :class => 'issue status-1 priority-4 priority-lowest overdue', :title => 'Error 281 when updating a recipe (New)') + :class => Issue.find(3).css_classes, :title => 'Error 281 when updating a recipe (New)') changeset_link = link_to('r1', {:controller => 'repositories', :action => 'revision', :id => 'ecookbook', :rev => 1}, :class => 'changeset', :title => 'My very first commit') @@ -752,7 +752,7 @@ RAW expected = <<-EXPECTED

CookBook documentation

-

#1

+

#1

 [[CookBook documentation]]