From: Jean-Philippe Lang Date: Sat, 14 Mar 2015 11:40:01 +0000 (+0000) Subject: Fixed assertion (#19368). X-Git-Tag: 3.1.0~199 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1014ba195f40d284413509153148a54f1c1175a0;p=redmine.git Fixed assertion (#19368). git-svn-id: http://svn.redmine.org/redmine/trunk@14086 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/integration/api_test/custom_fields_attribute_test.rb b/test/integration/api_test/custom_fields_attribute_test.rb index 55385b807..15c2acfff 100644 --- a/test/integration/api_test/custom_fields_attribute_test.rb +++ b/test/integration/api_test/custom_fields_attribute_test.rb @@ -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