From d025c140c9eb84f5b67d15f417e05e54604f74a7 Mon Sep 17 00:00:00 2001 From: aaronskiba Date: Thu, 1 May 2025 16:24:51 -0600 Subject: [PATCH 1/2] Update `database.yml.sample`: add separate test db Prior to this change, `config/database.yml` was configured such that running tests would be executed against the dev db. This would result in the dev db being destroyed after tests. This change ensures that the tests are executed against a separate test db and that the dev db persists while testing. --- config/database.yml.sample | 1 + 1 file changed, 1 insertion(+) diff --git a/config/database.yml.sample b/config/database.yml.sample index ea0354e1d4..0e81a500bb 100644 --- a/config/database.yml.sample +++ b/config/database.yml.sample @@ -13,3 +13,4 @@ development: test: <<: *defaults + database: <%= ENV.fetch('TEST_DB_NAME', 'roadmap_test') %> From 60d3201c58f6f521f5a1a75e6dbd98c83ac66823 Mon Sep 17 00:00:00 2001 From: aaronskiba <71047780+aaronskiba@users.noreply.github.com> Date: Fri, 21 Aug 2026 14:44:35 -0600 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 654b806664..2d8e789703 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Add API V2 from DMPonline [#3587](https://github.com/DMPRoadmap/roadmap/pull/3587) - Add complete plan flag to V2 API [#3595](https://github.com/DMPRoadmap/roadmap/pull/3595) - chore(deps): `bundle update && yarn upgrade` and bump `node-version` in workflows [#3601](https://github.com/DMPRoadmap/roadmap/pull/3601) +- Update `database.yml.sample`: add separate test db [#3521](https://github.com/DMPRoadmap/roadmap/pull/3521) ## v5.0.2 - Bump Ruby to v3.1.4 and use `.ruby-version` in CI