@@ -108,7 +108,10 class IssueMovesControllerTest < ActionController::TestCase | |||
|
108 | 108 | issue_before_move = Issue.find(1) |
|
109 | 109 | assert_difference 'Issue.count', 1 do |
|
110 | 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 | 115 | end |
|
113 | 116 | end |
|
114 | 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