diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c5b3204..45acf5d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,7 +22,7 @@ rails spec: script: - cd /app - bundle exec rails db:migrate - - bundle exec rails spec + - bundle exec rspec artifacts: paths: - specs_with_runtime.txt diff --git a/README.md b/README.md index be5c30f..ff52a51 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,12 @@ Development (without mail confirmation and separate database): $ RAILS_ENV=development rails server ``` +## Testing +Running tests works as follows: +```bash +bundle exec rspec +``` + ## Docker [Registry](https://gitlab.com/turniere/turniere-backend/container_registry)