]> source.dussan.org Git - redmine.git/commitdiff
code layout clean up of 'should "allow adding a note when copying"' at test/functiona...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 25 Sep 2011 10:46:20 +0000 (10:46 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 25 Sep 2011 10:46:20 +0000 (10:46 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7532 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/issue_moves_controller_test.rb

index e023fad54eeb79a1b5f1bd18ebaf8772e4562e96..9f9d258226277fe6180503431f216076667e7aeb 100644 (file)
@@ -150,7 +150,10 @@ class IssueMovesControllerTest < ActionController::TestCase
     should "allow adding a note when copying" do
       @request.session[:user_id] = 2
       assert_difference 'Issue.count', 1 do
-        post :create, :ids => [1], :copy_options => {:copy => '1'}, :notes => 'Copying one issue', :new_tracker_id => '', :assigned_to_id => 4, :status_id => 3, :start_date => '2009-12-01', :due_date => '2009-12-31'
+        post :create, :ids => [1], :copy_options => {:copy => '1'},
+             :notes => 'Copying one issue', :new_tracker_id => '',
+             :assigned_to_id => 4, :status_id => 3,
+             :start_date => '2009-12-01', :due_date => '2009-12-31'
       end
 
       issue = Issue.first(:order => 'id DESC')