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:
committed by
Mike Dalessio
parent
c97ea9131f
commit
1959e15f7e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user