##// END OF EJS Templates
code layout clean up test_create_as_copy_should_add_relation_with_copied_issue of IssuesControllerTest...
Toshi MARUYAMA -
r11658:098a38bb3a9f
parent child
Show More
@@ -2506,11 +2506,11 class IssuesControllerTest < ActionController::TestCase
2506 2506
2507 2507 def test_create_as_copy_should_add_relation_with_copied_issue
2508 2508 @request.session[:user_id] = 2
2509
2510 2509 assert_difference 'Issue.count' do
2511 2510 assert_difference 'IssueRelation.count' do
2512 2511 post :create, :project_id => 1, :copy_from => 1,
2513 :issue => {:project_id => '1', :tracker_id => '3', :status_id => '1', :subject => 'Copy'}
2512 :issue => {:project_id => '1', :tracker_id => '3',
2513 :status_id => '1', :subject => 'Copy'}
2514 2514 end
2515 2515 end
2516 2516 copy = Issue.first(:order => 'id DESC')
General Comments 0
You need to be logged in to leave comments. Login now