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

test/functional/issues_controller_test.rb

index d42a0d3639b6dfc46542115f29410080dfdda5aa..31fe49e2db2ff75921cf487979d1400762a2c714 100644 (file)
@@ -2506,11 +2506,11 @@ class IssuesControllerTest < ActionController::TestCase
 
   def test_create_as_copy_should_add_relation_with_copied_issue
     @request.session[:user_id] = 2
-
     assert_difference 'Issue.count' do
       assert_difference 'IssueRelation.count' do
         post :create, :project_id => 1, :copy_from => 1,
-          :issue => {:project_id => '1', :tracker_id => '3', :status_id => '1', :subject => 'Copy'}
+          :issue => {:project_id => '1', :tracker_id => '3',
+                     :status_id => '1', :subject => 'Copy'}
       end
     end
     copy = Issue.first(:order => 'id DESC')