@eileencodes can you refactor `assert_sql` to use `capture_sql` and send another PR?