Fix more tests

These are mainly because the fixture's UUIDs are deterministic rather
than time-sortable, and more places where we need to correct the fixture
IDs as well.
This commit is contained in:
Kevin McConnell
2025-11-12 12:07:10 +00:00
committed by Mike Dalessio
parent c97ea9131f
commit 1959e15f7e
20 changed files with 48 additions and 41 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ class BoardsControllerTest < ActionDispatch::IntegrationTest
post boards_path, params: { board: { name: "Remodel Punch List" } }
end
board = Board.last
board = Board.order(created_at: :desc).first
assert_redirected_to board_path(board)
assert_includes board.users, users(:kevin)
assert_equal "Remodel Punch List", board.name