Fix tests after the removal of memberships

This commit is contained in:
Stanko K.R.
2025-11-13 16:58:17 +01:00
committed by Mike Dalessio
parent 8fa9566c07
commit 34d83aaa7c
27 changed files with 84 additions and 360 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ class BoardsControllerTest < ActionDispatch::IntegrationTest
end
test "update all access" do
board = Current.set(session: sessions(:kevin)) do
board = Current.set(account: accounts("37s"), session: sessions(:kevin), user: users(:kevin)) do
Board.create! name: "New board", all_access: false
end
assert_equal [ users(:kevin) ], board.users