##// END OF EJS Templates
code layout clean up test_should_not_update_custom_fields_on_changing_tracker_with_different_custom_fields of unit issue test...
Toshi MARUYAMA -
r10427:a66a50eda249
parent child
Show More
@@ -338,7 +338,9 class IssueTest < ActiveSupport::TestCase
338 338 end
339 339
340 340 def test_should_not_update_custom_fields_on_changing_tracker_with_different_custom_fields
341 issue = Issue.create!(:project_id => 1, :tracker_id => 1, :author_id => 1, :status_id => 1, :subject => 'Test', :custom_field_values => {'2' => 'Test'})
341 issue = Issue.create!(:project_id => 1, :tracker_id => 1, :author_id => 1,
342 :status_id => 1, :subject => 'Test',
343 :custom_field_values => {'2' => 'Test'})
342 344 assert !Tracker.find(2).custom_field_ids.include?(2)
343 345
344 346 issue = Issue.find(issue.id)
General Comments 0
You need to be logged in to leave comments. Login now