I can run all tests in a single file with:
rake test TEST=path/to/test_file.rb
However, if I want to run just one test in that file, how wo
I use ruby /path/to/test -n /distinguishable word/
ruby /path/to/test -n /distinguishable word/
Edit: -n is a shorthand for --name. distinguishable word can be any string you put in the test description, I usually use some random word that I know won't be present in other tests' descriptions.
-n
--name
distinguishable word