]> source.dussan.org Git - redmine.git/commitdiff
Fixes assertion.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 4 Feb 2012 20:08:05 +0000 (20:08 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 4 Feb 2012 20:08:05 +0000 (20:08 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8775 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/integration/api_test/issues_test.rb

index 5d40b3c85b656fc8141b2afc6c4e420feefaa27c..ae07deec5b510549abef328a85fcc2e6faea79b3 100644 (file)
@@ -571,7 +571,7 @@ class ApiTest::IssuesTest < ActionController::IntegrationTest
 
       issue = Issue.find(3)
       assert_equal '150', issue.custom_value_for(2).value
-      assert_equal ['MySQL', 'PostgreSQL'], issue.custom_field_value(1)
+      assert_equal ['MySQL', 'PostgreSQL'], issue.custom_field_value(1).sort
     end
   end