mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 20:06:18 +08:00
FIX: Broken categories controller specs.
This commit is contained in:
parent
4ed93eee06
commit
68bfecef8f
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user