From efbaab0bd3e87d17796fc6bee322b2bbd6f19ea5 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Wed, 25 Mar 2015 14:51:03 -0300 Subject: [PATCH] CmsControllerTest: remove dependency on ordering --- test/functional/cms_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/cms_controller_test.rb b/test/functional/cms_controller_test.rb index 81b67c2..b3de376 100644 --- a/test/functional/cms_controller_test.rb +++ b/test/functional/cms_controller_test.rb @@ -699,7 +699,7 @@ class CmsControllerTest < ActionController::TestCase xhr :get, :update_categories, :profile => profile.identifier, :category_id => top.id assert_template 'shared/update_categories' assert_equal top, assigns(:current_category) - assert_equal [c1, c2], assigns(:categories) + assert_equivalent [c1, c2], assigns(:categories) end should 'record when coming from public view on edit' do -- libgit2 0.21.2