From ad68830a1b874c58e2c8727eee19768109ecdeb0 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 4 Jul 2012 19:24:25 +0000 Subject: [PATCH] Fixed test failure. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9910 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/issues_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 9e7836f0e..d5c2565a1 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -1556,7 +1556,7 @@ class IssuesControllerTest < ActionController::TestCase issue = Issue.first(:order => 'id DESC') assert_redirected_to :controller => 'issues', :action => 'new', :project_id => 'ecookbook', :issue => {:tracker_id => 3} assert_not_nil flash[:notice], "flash was not set" - assert flash[:notice].include?("##{issue.id}"), "issue link not found in flash: #{flash[:notice]}" + assert flash[:notice].include?(%|##{issue.id}|), "issue link not found in flash: #{flash[:notice]}" end def test_post_create_without_custom_fields_param -- 2.39.5