From 47cbf91e2a9b7adeb88818441b09effd89f4dc94 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 82384fc0c0d396be7bd7c748c9eceddb39101c24 Mon Sep 17 00:00:00 2001 From: aaronskiba Date: Mon, 5 May 2025 13:11:10 -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 7a4d0d8f86..7991e1333a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Fix failing eslint workflow / upgrade `actions/checkout` & `actions/setup-node` to v3 [#3503](https://github.com/DMPRoadmap/roadmap/pull/3503) - Fix rendering of `confirm_merge` partial [#3515](https://github.com/DMPRoadmap/roadmap/pull/3515) - Remove Auto-Generated TinyMCE Skins and Add `public/tinymce/skins/` to `.gitignore` [#3466](https://github.com/DMPRoadmap/roadmap/pull/3466) +- Update `database.yml.sample`: add separate test db [#3521](https://github.com/DMPRoadmap/roadmap/pull/3521) ## v5.0.0