summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-04 19:24:25 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-04 19:24:25 +0000
commitad68830a1b874c58e2c8727eee19768109ecdeb0 (patch)
tree15cb64330d442c998989022aabf06f0f522df7dc /test
parent1d1aef9d61beec2504b2efedce99c8a8b7869835 (diff)
downloadredmine-ad68830a1b874c58e2c8727eee19768109ecdeb0.tar.gz
redmine-ad68830a1b874c58e2c8727eee19768109ecdeb0.zip
Fixed test failure.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9910 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/issues_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
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?("<a href='/issues/#{issue.id}'>##{issue.id}</a>"), "issue link not found in flash: #{flash[:notice]}"
+ assert flash[:notice].include?(%|<a href="/issues/#{issue.id}">##{issue.id}</a>|), "issue link not found in flash: #{flash[:notice]}"
end
def test_post_create_without_custom_fields_param