From 48e28fa36682a44d506499a07f0e3f99e845ae61 Mon Sep 17 00:00:00 2001 From: Julien Boyer Date: Thu, 3 Aug 2023 18:04:57 +0200 Subject: [PATCH] Add step to migrate test database Signed-off-by: Julien Boyer Signed-off-by: sitarane --- official-documentation-samples/rails/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/official-documentation-samples/rails/README.md b/official-documentation-samples/rails/README.md index 0afc570..b748b20 100644 --- a/official-documentation-samples/rails/README.md +++ b/official-documentation-samples/rails/README.md @@ -393,7 +393,13 @@ your app at http://localhost:1080 ## Run some tests -Your tests are ready to run with: +Once you migrate your test database: + +```bash +docker compose run test rails db:migrate +``` + +your tests are ready to run with: ```bash docker compose run test rails test