FEATURE: Create logs for Group Moderator changes (PR #10271)

GitHub

    it "raises an error when argument is invalid" do
    it "raises an error when argument is invalid" do
    it "raises an error when argument is invalid" do

I think we should update the tests for Topic#update_status to ensure that the staff action is logged.

I think we should update the request specs for this controller action to ensure that the staff action is logged too.

      expect { logger.log_topic_closed(topic, closed: true) }.to change { UserHistory.where(action: UserHistory.actions[:topic_closed].count) }.by(1)

Done

Done

Moved the .count outside of the parens, but yes: done