]> source.dussan.org Git - redmine.git/commitdiff
Fixed assertion (#19368).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 14 Mar 2015 11:40:01 +0000 (11:40 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 14 Mar 2015 11:40:01 +0000 (11:40 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@14086 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/integration/api_test/custom_fields_attribute_test.rb

index 55385b8074e73742064613a0d7275c13ded77c73..15c2acffffd6d7c60a13cff92194de21b08d4ff1 100644 (file)
@@ -58,6 +58,6 @@ JSON
     post '/groups.json', payload, {'CONTENT_TYPE' => 'application/json'}.merge(credentials('admin'))
     assert_response :created
     group = Group.order('id DESC').first
-    assert_equal ["V1", "V3"], group.custom_field_value(field)
+    assert_equal ["V1", "V3"], group.custom_field_value(field).sort
   end
 end