From f21fd28917d2a5b97db46cc5f567e28f27342a40 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 25 Sep 2011 10:46:20 +0000 Subject: [PATCH] code layout clean up of 'should "allow adding a note when copying"' at test/functional/issue_moves_controller_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7532 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/issue_moves_controller_test.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/functional/issue_moves_controller_test.rb b/test/functional/issue_moves_controller_test.rb index e023fad54..9f9d25822 100644 --- a/test/functional/issue_moves_controller_test.rb +++ b/test/functional/issue_moves_controller_test.rb @@ -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')