mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 09:57:25 +08:00
show monthly top topics on 404 page
This commit is contained in:
@ -1232,6 +1232,7 @@ describe UsersController do
|
||||
guardian = Guardian.new(user)
|
||||
guardian.stubs(:ensure_can_edit!).with(user).raises(Discourse::InvalidAccess.new)
|
||||
Guardian.stubs(new: guardian).with(user)
|
||||
Guardian.stubs(new: guardian).with(nil)
|
||||
|
||||
put :update, username: user.username, name: 'Jim Tom'
|
||||
|
||||
|
Reference in New Issue
Block a user