diff --git a/spec/requests/categories_controller_spec.rb b/spec/requests/categories_controller_spec.rb index ff43580fcd7..fa6145d6492 100644 --- a/spec/requests/categories_controller_spec.rb +++ b/spec/requests/categories_controller_spec.rb @@ -105,7 +105,7 @@ describe CategoriesController do readonly = CategoryGroup.permission_types[:readonly] post "/categories.json", params: { - name: category.name, color: "ff0", text_color: "fff", permissions: {"invalid_group" => readonly} + name: category.name, color: "ff0", text_color: "fff", permissions: { "invalid_group" => readonly } } expect(response.status).to eq(422)