code layout clean up test_bulk_update_parent_id of IssuesControllerTest

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11890 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2013-05-19 04:03:11 +00:00
parent e3d47acb0b
commit a968c1196e
1 changed files with 2 additions and 3 deletions

View File

@ -3489,12 +3489,11 @@ class IssuesControllerTest < ActionController::TestCase
def test_bulk_update_parent_id
IssueRelation.delete_all
@request.session[:user_id] = 2
post :bulk_update, :ids => [1, 3],
:notes => 'Bulk editing parent',
:issue => {:priority_id => '', :assigned_to_id => '', :status_id => '', :parent_issue_id => '2'}
:issue => {:priority_id => '', :assigned_to_id => '',
:status_id => '', :parent_issue_id => '2'}
assert_response 302
parent = Issue.find(2)
assert_equal parent.id, Issue.find(1).parent_id