Commit eb0257c25bf821d826fbb44f0f4259421c980823

Authored by Braulio Bhavamitra
1 parent 7e75c5c5

categories: fix type error in test

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 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 530 saved = profile.articles.find_by_name('adding-categories-test')
531   - assert_equal [c1, c3], saved.categories
  531 + assert_equal [c1, c3], saved.categories.all
532 532 end
533 533  
534 534 should 'filter html with white_list from tiny mce article name' do
... ...