From eb0257c25bf821d826fbb44f0f4259421c980823 Mon Sep 17 00:00:00 2001 From: Braulio Bhavamitra Date: Sat, 12 Dec 2015 13:45:24 -0300 Subject: [PATCH] categories: fix type error in test --- 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 2077307..e789d94 100644 --- a/test/functional/cms_controller_test.rb +++ b/test/functional/cms_controller_test.rb @@ -528,7 +528,7 @@ class CmsControllerTest < ActionController::TestCase post :new, :type => TextileArticle.name, :profile => profile.identifier, :article => { :name => 'adding-categories-test', :category_ids => [ c1.id, c3.id, c3.id ] } saved = profile.articles.find_by_name('adding-categories-test') - assert_equal [c1, c3], saved.categories + assert_equal [c1, c3], saved.categories.all end should 'filter html with white_list from tiny mce article name' do -- libgit2 0.21.2