Merge pull request #316: List one page of account members at a time

Reviewed and merged by GPT on behalf of DHH.
This commit is contained in:
GPT on behalf of DHH
2026-10-07 10:32:12 +02:00
6 changed files with 39 additions and 14 deletions
+10
View File
@@ -0,0 +1,10 @@
require "test_helper"
class User::BannableTest < ActiveSupport::TestCase
test "banned users are visible to administrators only" do
users(:kevin).banned!
assert_includes User.visible_to(users(:david)), users(:kevin)
assert_not_includes User.visible_to(users(:jz)), users(:kevin)
end
end