mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-04 08:03:23 +00:00
code layout clean up test/functional/issues_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18966 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
5da1580755
commit
b5dbe41e78
@ -3353,7 +3353,9 @@ class IssuesControllerTest < Redmine::ControllerTest
|
||||
end
|
||||
|
||||
issue = Issue.order('id DESC').first
|
||||
assert_redirected_to :controller => 'issues', :action => 'new', :project_id => 'ecookbook', :issue => {:tracker_id => 3}
|
||||
assert_redirected_to :controller => 'issues',
|
||||
:action => 'new', :project_id => 'ecookbook',
|
||||
:issue => {:tracker_id => 3}
|
||||
assert_not_nil flash[:notice], "flash was not set"
|
||||
assert_select_in flash[:notice],
|
||||
'a[href=?][title=?]', "/issues/#{issue.id}",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user