Missing specs for Group, Tag, Category and Flag web hooks.

This commit is contained in:
Guo Xiang Tan
2018-05-21 17:29:19 +08:00
parent bf84037f79
commit 467d91347a
9 changed files with 151 additions and 32 deletions

View File

@ -136,8 +136,6 @@ class GroupsController < ApplicationController
if group.update(group_params(automatic: group.automatic))
GroupActionLogger.new(current_user, group).log_change_group_settings
DiscourseEvent.trigger(:group_updated, group)
render json: success_json
else
render_json_error(group)