- post :revoke, :params => { :display_name => target_user.display_name, :role => "moderator" }
- assert_redirected_to user_path(target_user.display_name)
- assert_equal "Only administrators can perform user role management, and you are not an administrator.", flash[:error]
+ delete user_role_path(target_user, "moderator")
+ assert_redirected_to :controller => :errors, :action => :forbidden