Commit 20de0297e13b08803603b25ee6e33da084abbb91
Committed by
Victor Costa
1 parent
e5b10ba1
Exists in
staging
and in
4 other branches
CmsControllerTest: remove dependency on ordering
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test/functional/cms_controller_test.rb
... | ... | @@ -699,7 +699,7 @@ class CmsControllerTest < ActionController::TestCase |
699 | 699 | xhr :get, :update_categories, :profile => profile.identifier, :category_id => top.id |
700 | 700 | assert_template 'shared/update_categories' |
701 | 701 | assert_equal top, assigns(:current_category) |
702 | - assert_equal [c1, c2], assigns(:categories) | |
702 | + assert_equivalent [c1, c2], assigns(:categories) | |
703 | 703 | end |
704 | 704 | |
705 | 705 | should 'record when coming from public view on edit' do | ... | ... |