You can also skip the rake and use the rspec command directly. In this case, the -format option can be used to tell RSpec how to format the output, "documentation" (or "doc") and "progress" are valid parameters:
rspec spec --format doc
This is especially useful if you want to run a single test / spec file.
rspec spec/models/your_model.rb --format doc
0x4a6f4672
source share