summaryrefslogtreecommitdiffstats
path: root/test/functional/issues_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-08-13 14:04:00 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-08-13 14:04:00 +0000
commit91c875437d5dcca7355c9ed405a4464734cc6d17 (patch)
tree5f89058d4d89ab602207adab4845f48cad3ca8b3 /test/functional/issues_controller_test.rb
parent60574bfb9cec7787743fcb5431747ea23b81e64d (diff)
downloadredmine-91c875437d5dcca7355c9ed405a4464734cc6d17.tar.gz
redmine-91c875437d5dcca7355c9ed405a4464734cc6d17.zip
Adds a title to the issue link in the flash message.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10198 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/issues_controller_test.rb')
-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 ee18dadb2..e1cbab072 100644
--- a/test/functional/issues_controller_test.rb
+++ b/test/functional/issues_controller_test.rb
@@ -1722,7 +1722,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_include %|<a href="/issues/#{issue.id}" title="This is first issue">##{issue.id}</a>|, flash[:notice], "issue link not found in the flash message"
end
def test_post_create_without_custom_fields_param