##// END OF EJS Templates
code layout clean up of 'should "allow not changing the issue's attributes"' at test/functional/issue_moves_controller_test.rb...
Toshi MARUYAMA -
r7410:7e182848e59e
parent child
Show More
@@ -108,7 +108,10 class IssueMovesControllerTest < ActionController::TestCase
108 issue_before_move = Issue.find(1)
108 issue_before_move = Issue.find(1)
109 assert_difference 'Issue.count', 1 do
109 assert_difference 'Issue.count', 1 do
110 assert_no_difference 'Project.find(1).issues.count' do
110 assert_no_difference 'Project.find(1).issues.count' do
111 post :create, :ids => [1], :new_project_id => 2, :copy_options => {:copy => '1'}, :new_tracker_id => '', :assigned_to_id => '', :status_id => '', :start_date => '', :due_date => ''
111 post :create, :ids => [1], :new_project_id => 2,
112 :copy_options => {:copy => '1'}, :new_tracker_id => '',
113 :assigned_to_id => '', :status_id => '',
114 :start_date => '', :due_date => ''
112 end
115 end
113 end
116 end
114 issue_after_move = Issue.first(:order => 'id desc', :conditions => {:project_id => 2})
117 issue_after_move = Issue.first(:order => 'id desc', :conditions => {:project_id => 2})
General Comments 0
You need to be logged in to leave comments. Login now