You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,20 @@ Also avilable to override are: `SEEDING_TEACHER_ID`.
111
111
112
112
The `*-to-local.sh` scripts will backup the database in your local terminal, then run an instance of the Docker container and run commands to populate your development DB with that data - see [./bin/db-sync/load-local-db.sh](./bin/db-sync/load-local-db.sh)
113
113
114
+
### Testing
115
+
116
+
Run the entire test suite using:
117
+
118
+
```
119
+
docker-compose run api rspec
120
+
```
121
+
122
+
Or individual specs using:
123
+
124
+
```
125
+
docker-compose run api rspec spec/path/to/spec.rb
126
+
```
127
+
114
128
### CORS Allowed Origins
115
129
116
130
Add a comma separated list to the relevant enviroment settings. E.g for development in the `.env` file:
0 commit comments