diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-08-11 18:24:39 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-08-11 18:24:39 +0000 |
commit | 237a3f52a2d9d269b56f5cdb022f0ff4f8197100 (patch) | |
tree | b392885d15032d8ae09af3106fffa7779c4bec15 /test | |
parent | 1631019026089cb7dc49b50365274bb07ba44025 (diff) | |
download | redmine-237a3f52a2d9d269b56f5cdb022f0ff4f8197100.tar.gz redmine-237a3f52a2d9d269b56f5cdb022f0ff4f8197100.zip |
Fixes custom fields display order at several places (#1768).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1731 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/issues_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 22f9a3baf..005542f81 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -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 |