summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-03-14 11:40:01 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-03-14 11:40:01 +0000
commit1014ba195f40d284413509153148a54f1c1175a0 (patch)
tree85ba971306220d71a9a30eee58e077d7fce36846 /test
parentc4904b445382ca0c07869537e583e4ca95a5c5d7 (diff)
downloadredmine-1014ba195f40d284413509153148a54f1c1175a0.tar.gz
redmine-1014ba195f40d284413509153148a54f1c1175a0.zip
Fixed assertion (#19368).
git-svn-id: http://svn.redmine.org/redmine/trunk@14086 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/integration/api_test/custom_fields_attribute_test.rb2
1 files changed, 1 insertions, 1 deletions
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