mirror of
https://github.com/discourse/discourse.git
synced 2025-02-28 16:29:22 +00: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…
x
Reference in New Issue
Block a user