@@ -338,7 +338,9 class IssueTest < ActiveSupport::TestCase | |||||
338 | end |
|
338 | end | |
339 |
|
339 | |||
340 | def test_should_not_update_custom_fields_on_changing_tracker_with_different_custom_fields |
|
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, |
|
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 | assert !Tracker.find(2).custom_field_ids.include?(2) |
|
344 | assert !Tracker.find(2).custom_field_ids.include?(2) | |
343 |
|
345 | |||
344 | issue = Issue.find(issue.id) |
|
346 | issue = Issue.find(issue.id) |
General Comments 0
You need to be logged in to leave comments.
Login now