Make Geo DB tracking database work with let_it_be
Geo tracking atabase entries created in specs with `let_it_be` and `before_all` would not be cleaned up between test runs. By default, let_it_be uses an adapter that only cleans records created via `ActiveRecord::Base`. We fix this by introducing a custom adapter that cleans the Geo tracking database and the main database. Closes https://gitlab.com/gitlab-org/gitlab/-/issues/232749
Showing
Please register or sign in to comment