How can I specify multiple directories for RSpec to output tests?

I have some selling gems that are being developed in tandem with my project, and I would like to tell rspec to run tests for these gems, as well as for my main application. Is there an easy way to do this?

+5
source share
1 answer

just enter spaces between directories like:

rspec spec/model/location.rb ../gem/spec/requests/user.rb
+10
source

All Articles