summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-25 10:45:30 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-25 10:45:30 +0000
commit7e182848e59e779b438d05e50e1b3c6f3ea55086 (patch)
tree12bb019e85109fab57c4bc4091c06bfa01c0f000 /test
parentf2fd28a76c6d79c4ed209a14d64310a0c6116a51 (diff)
downloadredmine-7e182848e59e779b438d05e50e1b3c6f3ea55086.tar.gz
redmine-7e182848e59e779b438d05e50e1b3c6f3ea55086.zip
code layout clean up of 'should "allow not changing the issue's attributes"' at test/functional/issue_moves_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7530 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-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 3fd87175e..dad561212 100644
--- a/test/functional/issue_moves_controller_test.rb
+++ b/test/functional/issue_moves_controller_test.rb
@@ -108,7 +108,10 @@ class IssueMovesControllerTest < ActionController::TestCase
issue_before_move = Issue.find(1)
assert_difference 'Issue.count', 1 do
assert_no_difference 'Project.find(1).issues.count' do
- post :create, :ids => [1], :new_project_id => 2, :copy_options => {:copy => '1'}, :new_tracker_id => '', :assigned_to_id => '', :status_id => '', :start_date => '', :due_date => ''
+ post :create, :ids => [1], :new_project_id => 2,
+ :copy_options => {:copy => '1'}, :new_tracker_id => '',
+ :assigned_to_id => '', :status_id => '',
+ :start_date => '', :due_date => ''
end
end
issue_after_move = Issue.first(:order => 'id desc', :conditions => {:project_id => 2})