Is there a way to keep Guard from ever running my entire spec?

55 views Asked by At

I'm using Guard along with Zeus and RSpec for testing a Rails 3.2.16 application. When I change an RSpec support file, Guard wants to re-run the whole spec. I really would like to turn that behavior off. I'd like to only run the whole spec by hand, and just let Guard pick up changes to my individual specs.

1

There are 1 answers

1
Netzpirat On BEST ANSWER

You need to change the watchers. From the default template just remove

watch('spec/spec_helper.rb')  { "spec" }