Commit efbaab0bd3e87d17796fc6bee322b2bbd6f19ea5
1 parent
4bf11ff9
Exists in
master
and in
29 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 | ... | ... |