summaryrefslogtreecommitdiffstats
path: root/test/functional
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-25 10:46:20 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-25 10:46:20 +0000
commitf21fd28917d2a5b97db46cc5f567e28f27342a40 (patch)
treea9c99264ea287691f14e6c85fffb938cb93cf110 /test/functional
parentc01d94203b3c3d64fe37a749dfcacd8b713494c0 (diff)
downloadredmine-f21fd28917d2a5b97db46cc5f567e28f27342a40.tar.gz
redmine-f21fd28917d2a5b97db46cc5f567e28f27342a40.zip
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
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/issue_moves_controller_test.rb5
1 files changed, 4 insertions, 1 deletions
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')