From 7801a142f9a716a9f01fec14240deab641d87864 Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Fri, 8 Jul 2022 14:52:49 +0100 Subject: [PATCH] Add spec command to docker dev setup --- docs/developer_setup.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/developer_setup.md b/docs/developer_setup.md index acc1542a7..d01ddb982 100644 --- a/docs/developer_setup.md +++ b/docs/developer_setup.md @@ -193,3 +193,9 @@ We recommend using [RBenv](https://github.com/rbenv/rbenv) to manage Ruby versio If this is not needed you can run `docker-compose up` as normal The Rails server will start on . + +5. To run the test suite in docker: + + ```bash + docker-compose run --rm app /bin/bash -c ' RAILS_ENV=test rspec' + ```