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
@@ -35,7 +35,7 @@ class WebhooksControllerTest < ActionDispatch::IntegrationTest
|
||||
}
|
||||
end
|
||||
|
||||
webhook = Webhook.order(id: :desc).first
|
||||
webhook = Webhook.order(created_at: :desc).first
|
||||
|
||||
assert_redirected_to board_webhook_path(webhook.board, webhook)
|
||||
assert_equal board, webhook.board
|
||||
|
||||
Reference in New Issue
Block a user