Commit 5d0cd510 authored by tmaruyama's avatar tmaruyama

code layout clean up...

code layout clean up test_should_not_update_custom_fields_on_changing_tracker_with_different_custom_fields of unit issue test

git-svn-id: https://svn.redmine.org/redmine/trunk@10638 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 3abf5290
......@@ -338,7 +338,9 @@ class IssueTest < ActiveSupport::TestCase
end
def test_should_not_update_custom_fields_on_changing_tracker_with_different_custom_fields
issue = Issue.create!(:project_id => 1, :tracker_id => 1, :author_id => 1, :status_id => 1, :subject => 'Test', :custom_field_values => {'2' => 'Test'})
issue = Issue.create!(:project_id => 1, :tracker_id => 1, :author_id => 1,
:status_id => 1, :subject => 'Test',
:custom_field_values => {'2' => 'Test'})
assert !Tracker.find(2).custom_field_ids.include?(2)
issue = Issue.find(issue.id)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment