Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-enable parallel testing (in development)
This commit re-enables parallel testing. This takes advantage of the extra cores available on development machines. I've set `parallelize(workers: 1)` to retain the current behaviour in CI, but locally a developer can run `PARALLEL_WORKERS=8 bin/rails test` for example to take advantage of additional cores. I had to make CreatingAnArtistTest more deterministic - relying on finding the artist specifically rather than calling `Artist.last` to make it run alongside other tests in parallel. I also added a text assertion for good measure to ensure the Artist had been created before the `artist_path` was visited.
- Loading branch information