@@ -150,7 +150,10 class IssueMovesControllerTest < ActionController::TestCase | |||
|
150 | 150 | should "allow adding a note when copying" do |
|
151 | 151 | @request.session[:user_id] = 2 |
|
152 | 152 | assert_difference 'Issue.count', 1 do |
|
153 | 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' | |
|
153 | post :create, :ids => [1], :copy_options => {:copy => '1'}, | |
|
154 | :notes => 'Copying one issue', :new_tracker_id => '', | |
|
155 | :assigned_to_id => 4, :status_id => 3, | |
|
156 | :start_date => '2009-12-01', :due_date => '2009-12-31' | |
|
154 | 157 | end |
|
155 | 158 | |
|
156 | 159 | issue = Issue.first(:order => 'id DESC') |
General Comments 0
You need to be logged in to leave comments.
Login now