diff --git a/spec/controllers/categories_controller_spec.rb b/spec/controllers/categories_controller_spec.rb index 7eb1def2fb4..d9d9240b544 100644 --- a/spec/controllers/categories_controller_spec.rb +++ b/spec/controllers/categories_controller_spec.rb @@ -219,6 +219,8 @@ describe CategoriesController do end it 'logs the changes correctly' do + @category.update!(permissions: { "admins" => CategoryGroup.permission_types[:create_post] }) + xhr :put , :update, id: @category.id, name: 'new name', color: @category.color, text_color: @category.text_color, slug: @category.slug,