mirror of
https://github.com/redmine/redmine.git
synced 2026-05-07 06:35:55 +02:00
Fixes custom fields display order at several places (#1768).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1731 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -212,7 +212,7 @@ class IssuesControllerTest < Test::Unit::TestCase
|
||||
assert_equal 2, issue.author_id
|
||||
assert_equal 3, issue.tracker_id
|
||||
assert_nil issue.estimated_hours
|
||||
v = issue.custom_values.find_by_custom_field_id(2)
|
||||
v = issue.custom_values.find(:first, :conditions => {:custom_field_id => 2})
|
||||
assert_not_nil v
|
||||
assert_equal 'Value for field 2', v.value
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user