]> source.dussan.org Git - redmine.git/commitdiff
code layout clean up test_bulk_update_parent_id of IssuesControllerTest
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 19 May 2013 04:03:11 +0000 (04:03 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 19 May 2013 04:03:11 +0000 (04:03 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11890 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/issues_controller_test.rb

index e1df0753668ccc8aa676e5c6f586b0eccbfa2c00..cadb9ca50ab0835464741a0c9d7686fb26cd4e20 100644 (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