summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-25 10:45:56 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-25 10:45:56 +0000
commitc01d94203b3c3d64fe37a749dfcacd8b713494c0 (patch)
tree081b40166d3a3753d05e16aa35ae6672f58e85f1
parent7e182848e59e779b438d05e50e1b3c6f3ea55086 (diff)
downloadredmine-c01d94203b3c3d64fe37a749dfcacd8b713494c0.tar.gz
redmine-c01d94203b3c3d64fe37a749dfcacd8b713494c0.zip
code layout clean up of 'should "allow changing the issue's attributes"' at test/functional/issue_moves_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7531 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--test/functional/issue_moves_controller_test.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/functional/issue_moves_controller_test.rb b/test/functional/issue_moves_controller_test.rb
index dad561212..e023fad54 100644
--- a/test/functional/issue_moves_controller_test.rb
+++ b/test/functional/issue_moves_controller_test.rb
@@ -122,13 +122,17 @@ class IssueMovesControllerTest < ActionController::TestCase
should "allow changing the issue's attributes" do
# Fixes random test failure with Mysql
- # where Issue.all(:limit => 2, :order => 'id desc', :conditions => {:project_id => 2}) doesn't return the expected results
+ # where Issue.all(:limit => 2, :order => 'id desc', :conditions => {:project_id => 2})
+ # doesn't return the expected results
Issue.delete_all("project_id=2")
@request.session[:user_id] = 2
assert_difference 'Issue.count', 2 do
assert_no_difference 'Project.find(1).issues.count' do
- post :create, :ids => [1, 2], :new_project_id => 2, :copy_options => {:copy => '1'}, :new_tracker_id => '', :assigned_to_id => 4, :status_id => 3, :start_date => '2009-12-01', :due_date => '2009-12-31'
+ post :create, :ids => [1, 2], :new_project_id => 2,
+ :copy_options => {:copy => '1'}, :new_tracker_id => '',
+ :assigned_to_id => 4, :status_id => 3,
+ :start_date => '2009-12-01', :due_date => '2009-12-31'
end
end