From 18c7c0d3ee29fc75d7cb7a2acdb8bdeee57ae9ca Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 21 Dec 2009 21:19:01 +0000 Subject: [PATCH] Fixes a test failure. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3214 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/issue_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index fa9d56dbd..b22b05c78 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -216,7 +216,7 @@ class IssueTest < ActiveSupport::TestCase orig = Issue.find(1) assert_equal orig.subject, issue.subject assert_equal orig.tracker, issue.tracker - assert_equal orig.custom_values.first.value, issue.custom_values.first.value + assert_equal "125", issue.custom_value_for(2).value end def test_copy_should_copy_status