Switch to running tests with rspec directly

This commit is contained in:
Daniel Schädler 2024-04-08 13:04:24 +02:00
parent cd3c334ddb
commit b899b74d76
2 changed files with 7 additions and 1 deletions

View File

@ -22,7 +22,7 @@ rails spec:
script: script:
- cd /app - cd /app
- bundle exec rails db:migrate - bundle exec rails db:migrate
- bundle exec rails spec - bundle exec rspec
artifacts: artifacts:
paths: paths:
- specs_with_runtime.txt - specs_with_runtime.txt

View File

@ -21,6 +21,12 @@ Development (without mail confirmation and separate database):
$ RAILS_ENV=development rails server $ RAILS_ENV=development rails server
``` ```
## Testing
Running tests works as follows:
```bash
bundle exec rspec
```
## Docker ## Docker
[Registry](https://gitlab.com/turniere/turniere-backend/container_registry) [Registry](https://gitlab.com/turniere/turniere-backend/container_registry)