mirror of
https://github.com/redmine/redmine.git
synced 2025-11-13 00:36:01 +01:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user