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