Skip to content

Commit

Permalink
Add additional comments about running specific spec files to ReadMe
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobyarborough committed Jan 26, 2024
1 parent b6c91ea commit 7a1a6ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ If you encounter an error starting Docker processes like the above, you may have

#### Running specifc spec files

If you want to run individual specs, you can use the following command:
If you want to run individual specs, you can use the following command in a new terminal window:

`docker-compose run --rm -e "RAILS_ENV=test" web bundle exec rspec spec/your/spec.rb`

![Spec command image](doc_assets/docker_ps_command.png "Screenshot of the docker ps command output. List of running containers. First column: 'Container ID', second column: 'Image', third column: 'Created', fourth column: 'Status', fith column: 'Ports', sixth column: 'Names'.")
- Note: you will be able to use binding.pry as you normally would when using this command.

#### Using Pry Gem

Expand Down

0 comments on commit 7a1a6ee

Please sign in to comment.