Merge pull request #3913 from tgxworld/fix_build
FIX: Broken categories controller specs.
This commit is contained in:
commit
1ef9233aec
|
@ -219,6 +219,8 @@ describe CategoriesController do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'logs the changes correctly' do
|
it 'logs the changes correctly' do
|
||||||
|
@category.update!(permissions: { "admins" => CategoryGroup.permission_types[:create_post] })
|
||||||
|
|
||||||
xhr :put , :update, id: @category.id, name: 'new name',
|
xhr :put , :update, id: @category.id, name: 'new name',
|
||||||
color: @category.color, text_color: @category.text_color,
|
color: @category.color, text_color: @category.text_color,
|
||||||
slug: @category.slug,
|
slug: @category.slug,
|
||||||
|
|
Loading…
Reference in New Issue