mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +08:00
more group progress, UI getting there, controller mostly done
changed it so notify moderators goes to the moderators group allow admins to grant self moderation and revoke self moderation
This commit is contained in:
@ -37,7 +37,7 @@ describe PostAction do
|
||||
describe 'notify_moderators' do
|
||||
before do
|
||||
PostAction.stubs(:create)
|
||||
PostAction.expects(:target_moderators).returns("bob")
|
||||
PostAction.expects(:target_moderators).returns("moderators")
|
||||
end
|
||||
|
||||
it "sends an email to all moderators if selected" do
|
||||
|
Reference in New Issue
Block a user