What is it that rails spec does, if anything, that rspec alone does not?
I was looking for a way to run only specific RSpec tests from the command line, and the only way I found requires running rspec directly (rspec --tag focus ..., not via rails spec. I could do that, but I'm concerned that maybe doing so bypassing some important setup or other functionality.
It seems it calls rails test:prepare before actually calling rspec:
https://github.com/rspec/rspec-rails/blob/master/lib/rspec/rails/tasks/rspec.rake#L11
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With