Commit 83eb73073cc3152a18d66d57becfb987f0bfdd51
Exists in
staging
and in
1 other branch
Merge branch 'master' into staging
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test/functional/cms_controller_test.rb
| @@ -528,7 +528,7 @@ class CmsControllerTest < ActionController::TestCase | @@ -528,7 +528,7 @@ class CmsControllerTest < ActionController::TestCase | ||
| 528 | post :new, :type => TextileArticle.name, :profile => profile.identifier, :article => { :name => 'adding-categories-test', :category_ids => [ c1.id, c3.id, c3.id ] } | 528 | post :new, :type => TextileArticle.name, :profile => profile.identifier, :article => { :name => 'adding-categories-test', :category_ids => [ c1.id, c3.id, c3.id ] } |
| 529 | 529 | ||
| 530 | saved = profile.articles.find_by(name: 'adding-categories-test') | 530 | saved = profile.articles.find_by(name: 'adding-categories-test') |
| 531 | - assert_equal [c1, c3], saved.categories.all | 531 | + assert_equivalent [c1, c3], saved.categories.all |
| 532 | end | 532 | end |
| 533 | 533 | ||
| 534 | should 'filter html with white_list from tiny mce article name' do | 534 | should 'filter html with white_list from tiny mce article name' do |